Feoramund
|
f453054aff
Return `0, nil` in all `io` cases where an empty slice is provided
|
před 11 měsíci |
Feoramund
|
6798d15ecb
Check `int(abs)` instead to avoid overflows
|
před 11 měsíci |
Feoramund
|
e83b982afe
Measure `bytes.Buffer` size by `length` instead of `capacity`
|
před 11 měsíci |
Feoramund
|
7c6cc81041
Add `Seek` behavior to `bytes.Buffer`
|
před 11 měsíci |
Feoramund
|
8251f4d7d0
Return `.EOF` in `bytes.buffer_read_at` instead
|
před 11 měsíci |
Feoramund
|
981a2e1a00
Add missing `io.Stream_Mode` responses
|
před 11 měsíci |
Jeroen van Rijn
|
a27b167218
Update `tests\core\encoding\cbor` to use new test runner.
|
před 1 rokem |
Laytan Laats
|
d3bd1c2110
improve some Negative_Read/Negative_Write logic
|
před 1 rokem |
Jeroen van Rijn
|
99d6a077fe
_buffer_grow: Preserve allocator if already set via init_buffer_allocator
|
před 2 roky |
gingerBill
|
3f6775e29b
Update to new io interface
|
před 2 roky |
Laytan Laats
|
7a04b7262e
fix bytes.buffer_init_allocator not using given allocator if len/cap is 0
|
před 2 roky |
gingerBill
|
c4d19dfa92
Use `uint` instead of `int` to improve code generation for bounds checking
|
před 2 roky |
gingerBill
|
f50fc33749
Clean up of the core library to make the stream vtables not be pointers directly.
|
před 2 roky |
gingerBill
|
d3081bd889
Add `buffer_read_ptr` and `buffer_write_ptr`
|
před 3 roky |
gingerBill
|
251da264ed
Remove unneeded semicolons from the core library
|
před 4 roky |
gingerBill
|
cd2476e084
Add buffer_read_at buffer_write_at
|
před 4 roky |
gingerBill
|
e6dfc22b8a
Add `bytes.buffer_write_to` and `bytes.buffer_read_from`
|
před 4 roky |
gingerBill
|
1470cab842
Make bytes.odin consistent with strings.odin in functionality
|
před 4 roky |
gingerBill
|
a82c902f99
Minor correction to bytes.Buffer's vtable
|
před 4 roky |
gingerBill
|
9b22583397
Add `bytes.Buffer`
|
před 4 roky |