Swim.Lzw
swim · API reference
type order =
| LSB
| MSBtype error =
| Invalid_code of int
| Unexpected_eof
| Buffer_overflowval error_to_string : error -> stringval decompress_to_buffer :
src:Cstruct.t ->
dst:Cstruct.t ->
(int, error) resultval decompress_cstruct : Cstruct.t -> (Cstruct.t, error) resultval decompress :
?order:order ->
?lit_width:int ->
string ->
(string, error) resultval decompress_lsb8 : string -> (string, error) result