fn countLeb128(reader: *Reader, comptime T: type, counter: *u64, hasher: *Crc32) !T
fn countLeb128(reader: *Reader, comptime T: type, counter: *u64, hasher: *Crc32) !T { try reader.fill(8); const start = reader.seek; const result = try reader.takeLeb128(T); const read_slice = reader.buffer[start..reader.seek]; hasher.update(read_slice); counter.* += read_slice.len; return result; }