mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 16:32:11 +01:00
Rename decoder_max_incl_workbuf_len constants
This commit is contained in:
1 parent
d9c36922db
commit
fc4abafbe7
9 files changed
+32
-32
No files matched your search
@@ -22,8 +22,8 @@ pub status "?bad parity check"
|
||||
|
||||
pri status "?TODO: unsupported preset dictionary"
|
||||
|
||||
// TODO: reference deflate.decoder_workbuf_len_max_incl.
|
||||
pub const decoder_workbuf_len_max_incl base.u64 = 32768 + 512
|
||||
// TODO: reference deflate.decoder_workbuf_len_max_incl_worst_case.
|
||||
pub const decoder_workbuf_len_max_incl_worst_case base.u64 = 32768 + 512
|
||||
|
||||
pub struct decoder?(
|
||||
flate deflate.decoder,
|
||||
@@ -38,8 +38,8 @@ pub func decoder.set_ignore_checksum!(ic base.bool) {
|
||||
|
||||
pub func decoder.workbuf_len() base.range_ii_u64 {
|
||||
return this.util.make_range_ii_u64(
|
||||
min_incl:decoder_workbuf_len_max_incl,
|
||||
max_incl:decoder_workbuf_len_max_incl)
|
||||
min_incl:decoder_workbuf_len_max_incl_worst_case,
|
||||
max_incl:decoder_workbuf_len_max_incl_worst_case)
|
||||
}
|
||||
|
||||
pub func decoder.decode_io_writer?(dst base.io_writer, src base.io_reader, workbuf slice base.u8) {
|
||||
|
||||
Reference in new issue
Block a user