Decompress.Hunk
Hunk definition.
Match (len, dist) means a repeating previous pattern of len + 3 bytes at dist + 1 before the current cursor. Literal chr means a character.
Match (len, dist)
len + 3
dist + 1
Literal chr
type t =
| Match of int * int
Match (len, dist) where len and dist are biased. The really len is len + 3 and the really dist is dist + 1.
len
dist
A Match means a repeating previous pattern of len + 3 byte(s) at dist + 1 before the current cursor.
Match
| Literal of char
Literal chr means a character.