type order = LSB | MSB type error = Invalid_code of int | Unexpected_eof | Buffer_overflow val error_to_string : error -> string val decompress : ?order:order -> ?lit_width:int -> string -> (string, error) result val decompress_lsb8 : string -> (string, error) result