Revert 0.7.6 code for 0.7.5 re-release

This commit is contained in:
Christoffer Lerno
2025-09-05 18:41:41 +02:00
parent c375aef9a3
commit d1349c9cfb
63 changed files with 796 additions and 1148 deletions

View File

@@ -13,7 +13,7 @@ struct ByteBuffer (InStream, OutStream)
<*
ByteBuffer provides a streamable read/write buffer.
max_read defines how many bytes might be kept before its internal buffer is shrunk.
max_read defines how many bytes might be kept before its internal buffer is shrinked.
@require self.bytes.len == 0 : "Buffer already initialized."
*>
fn ByteBuffer* ByteBuffer.init(&self, Allocator allocator, usz max_read, usz initial_capacity = 16)
@@ -145,4 +145,4 @@ macro ByteBuffer.shrink(&self)
self.write_idx = 1 + readable;
self.read_idx = 1;
}
}
}