More deprecations in lib6, and updates to lib7

This commit is contained in:
Christoffer Lerno
2025-02-27 11:10:41 +01:00
parent 6d3c1f5d2f
commit 33b05bcfeb
69 changed files with 439 additions and 226 deletions

View File

@@ -4,7 +4,7 @@ import std::io;
fn void write_read()
{
ByteBuffer buf;
buf.temp_init(16);
buf.tinit(16);
usz n;
uint x;
uint y;
@@ -45,7 +45,7 @@ fn void samples()
foreach (tc : tcases)
{
ByteWriter bw;
bw.temp_init();
bw.tinit();
usz n = io::write_varint(&bw, tc.in)!!;
assert(n == tc.bytes.len, "got %d; want %d", n, tc.bytes.len);
char[] bytes = bw.bytes[:bw.index];