mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 16:32:11 +01:00
Generate a C placeholder for "in.src.read_u8?()".
This commit is contained in:
1 parent
0646f4472c
commit
1758637f89
7 files changed
+65
-8
No files matched your search
@@ -24,7 +24,7 @@ pub func lzw_decoder.decode?(dst ptr buf1, src ptr buf1, src_final bool)() {
|
||||
post n_bits >= width,
|
||||
{
|
||||
assert n_bits < 12 via "a < b: a < c; c <= b"(c:width)
|
||||
bits |= 0 as u32 // TODO
|
||||
bits |= in.src.read_u8?() as u32 // TODO
|
||||
n_bits += 8
|
||||
}
|
||||
// TODO: var code u32[..4095] = bits.low_bits(width)
|
||||
|
||||
Reference in new issue
Block a user