exception Error of stringThis exception is raised on malformed input
Easy interface
val compress : string -> stringval is_valid : string -> boolval get_uncompressed_size : string -> intval uncompress : string -> stringSubstring interface
function_sub input offset length is equivalent to function but operates on the substring of the given input string, defined by offset and length, raising Invalid_argument when offset and length do not represent a valid substring of input
val compress_sub : string -> int -> int -> stringval is_valid_sub : string -> int -> int -> boolval get_uncompressed_size_sub : string -> int -> int -> intval uncompress_sub : string -> int -> int -> stringUnsafe interface
Substring interface without bounds checking
val unsafe_compress : string -> int -> int -> stringval unsafe_is_valid : string -> int -> int -> boolval unsafe_get_uncompressed_size : string -> int -> int -> intval unsafe_uncompress : string -> int -> int -> string