mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Add a mark call to zlib_decoder.decode.
This commit is contained in:
1 parent
474a0d2ed7
commit
0d32b6cb47
2 files changed
+2
No files matched your search
@@ -46,6 +46,7 @@ pub func zlib_decoder.decode?(dst writer1, src reader1)() {
|
||||
}
|
||||
var checksum u32
|
||||
while true {
|
||||
in.dst.mark()
|
||||
var z status = try this.flate.decode?(dst:in.dst, src:in.src)
|
||||
// TODO: expose some API to opt out of checksumming, trading off error
|
||||
// detection for throughput.
|
||||
|
||||
Reference in new issue
Block a user