mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 16:47:28 +01:00
Use "T[..inclMax]" instead of "T[:exclMax]".
This commit is contained in:
1 parent
d3eba13223
commit
9184e2682e
9 files changed
+53
-44
No files matched your search
@@ -2,7 +2,7 @@ use "std/io"
|
||||
|
||||
struct lzw_decoder?(
|
||||
// TODO: default values??
|
||||
literal_width u32[2:9],
|
||||
literal_width u32[2..8],
|
||||
stack[4096] u8,
|
||||
suffixes[4096] u8,
|
||||
prefixes[4096] u16,
|
||||
@@ -14,7 +14,7 @@ func lzw_decoder.decode?(dst ptr io.buf1, src ptr io.buf1, src_final bool)() {
|
||||
|
||||
// TODO: set clear_code, end_code, etc.
|
||||
|
||||
var width u32[:13] = this.literal_width + 1
|
||||
var width u32[..12] = this.literal_width + 1
|
||||
|
||||
// TODO: implement.
|
||||
|
||||
|
||||
Reference in new issue
Block a user