Module Snappy Source Snappy compression/uncompression
Source exception Error of stringThis exception is raised on malformed input
Easy interfaceSource val compress : string -> stringSource val is_valid : string -> boolSource val get_uncompressed_size : string -> intSource val uncompress : string -> string Substring interfacefunction_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
Source val compress_sub : string -> int -> int -> stringSource val is_valid_sub : string -> int -> int -> boolSource val get_uncompressed_size_sub : string -> int -> int -> intSource val uncompress_sub : string -> int -> int -> string Unsafe interfaceSubstring interface without bounds checking
Source val unsafe_compress : string -> int -> int -> stringSource val unsafe_is_valid : string -> int -> int -> boolSource val unsafe_get_uncompressed_size : string -> int -> int -> intSource val unsafe_uncompress : string -> int -> int -> string