Rename hasher update_u32 method

This commit is contained in:
Nigel Tao committed 2019-11-20 21:07:22 +11:00
1 parent 9e375309a4
commit 8ff9cdb9a6
8 files changed
+33 -33

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@ pub func decoder.decode_io_writer?(dst: base.io_writer, src: base.io_reader, wor
mark = args.dst.mark()
status =? this.flate.decode_io_writer?(dst: args.dst, src: args.src, workbuf: args.workbuf)
if not this.ignore_checksum {
checksum_got = this.checksum.update!(x: args.dst.since(mark: mark))
checksum_got = this.checksum.update_u32!(x: args.dst.since(mark: mark))
decoded_length_got ~mod+= ((args.dst.count_since(mark: mark) & 0xFFFFFFFF) as base.u32)
}
if status.is_ok() {