mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 00:55:11 +01:00
Rename std/deflate decode_huffman_fast function
This commit is contained in:
1 parent
97591ee3c9
commit
39e2044102
4 files changed
+11
-11
No files matched your search
@@ -258,7 +258,7 @@ pri func decoder.decode_blocks?(dst: base.io_writer, src: base.io_reader) {
|
||||
|
||||
this.end_of_block = false
|
||||
while true {
|
||||
status = this.decode_huffman_fast!(dst: args.dst, src: args.src)
|
||||
status = this.decode_huffman_fast64!(dst: args.dst, src: args.src)
|
||||
if status.is_error() {
|
||||
return status
|
||||
}
|
||||
@@ -281,7 +281,7 @@ pri func decoder.decode_uncompressed?(dst: base.io_writer, src: base.io_reader)
|
||||
|
||||
// TODO: make this "if" into a function invariant?
|
||||
//
|
||||
// Ditto for decode_huffman_slow and decode_huffman_fast.
|
||||
// Ditto for decode_huffman_slow and decode_huffman_fastxx.
|
||||
if (this.n_bits >= 8) or ((this.bits >> (this.n_bits & 7)) <> 0) {
|
||||
return "#internal error: inconsistent n_bits"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user