Jeroen van Rijn
|
99d6a077fe
_buffer_grow: Preserve allocator if already set via init_buffer_allocator
|
2 years ago |
gingerBill
|
3f6775e29b
Update to new io interface
|
2 years ago |
Laytan Laats
|
7a04b7262e
fix bytes.buffer_init_allocator not using given allocator if len/cap is 0
|
2 years ago |
gingerBill
|
c4d19dfa92
Use `uint` instead of `int` to improve code generation for bounds checking
|
2 years ago |
gingerBill
|
f50fc33749
Clean up of the core library to make the stream vtables not be pointers directly.
|
2 years ago |
gingerBill
|
d3081bd889
Add `buffer_read_ptr` and `buffer_write_ptr`
|
3 years ago |
gingerBill
|
251da264ed
Remove unneeded semicolons from the core library
|
4 years ago |
gingerBill
|
cd2476e084
Add buffer_read_at buffer_write_at
|
4 years ago |
gingerBill
|
e6dfc22b8a
Add `bytes.buffer_write_to` and `bytes.buffer_read_from`
|
4 years ago |
gingerBill
|
1470cab842
Make bytes.odin consistent with strings.odin in functionality
|
4 years ago |
gingerBill
|
a82c902f99
Minor correction to bytes.Buffer's vtable
|
4 years ago |
gingerBill
|
9b22583397
Add `bytes.Buffer`
|
4 years ago |