mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 08:52:18 +01:00
Rename writer1.slice to writer1.since_mark.
This commit is contained in:
1 parent
bdfe4abbd3
commit
5052b16f2d
7 files changed
+18
-23
No files matched your search
@@ -50,10 +50,7 @@ pub func zlib_decoder.decode?(dst writer1, src reader1)() {
|
||||
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.
|
||||
//
|
||||
// TODO: in.dst.slice needs a previous mark statement. Do that, and
|
||||
// remove the b_wstart_dst derived variables.
|
||||
checksum = this.adler.update(x:in.dst.slice())
|
||||
checksum = this.adler.update(x:in.dst.since_mark())
|
||||
if z.is_ok() {
|
||||
break
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user