aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv/Module.zig
diff options
context:
space:
mode:
authorIgor Anić <igor.anic@gmail.com>2024-03-02 23:20:02 +0100
committerIgor Anić <igor.anic@gmail.com>2024-03-04 09:53:01 +0100
commit711281602a0efdd3b194c0419e8bccc2bb399167 (patch)
tree28640cc1a1a714fa2bd0e8c6abcafcd22646768a /src/codegen/spirv/Module.zig
parent8a963fd66e22820119bac1b0a568f0cf3af4fa8e (diff)
downloadzig-711281602a0efdd3b194c0419e8bccc2bb399167.tar.gz
zig-711281602a0efdd3b194c0419e8bccc2bb399167.zip
flate: option to fill BitReader
fill(0) will fill all bytes in bit reader. If bit reader is aligned to the byte, as it is at the end of the stream this ensures no overshoot when reading footer. Footer is 4 bytes (zlib) or 8 bytes (gzip). For zlib we will use 4 bytes BitReader and 8 for gzip. After align and fill we will read those bytes and leave BitReader empty after that.
Diffstat (limited to 'src/codegen/spirv/Module.zig')
0 files changed, 0 insertions, 0 deletions