nx_deflate_bytes_consumed_test.nx
buildroot/runtime/nx_deflate_bytes_consumed_test.nx
about
nx_deflate_bytes_consumed_test.nx -- check whether bytes_consumed
is correct for the 61-byte dynamic-Huffman fixture.
nx_zlib_inflate uses bytes_consumed to compute the trailer offset:
trailer_off = 2 + def_r.bytes_consumed
If this is wrong by N, nx_zlib reads adler32 bytes from the wrong
position and reports MISMATCH.
Expected: bytes_consumed == 61.
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_deflate.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 14 | func main() -> i64 |