Crate cita_snappy

Crate cita_snappy 

Source

Enums§

SnappyError
SnappyStatus

Constants§

CITA_SKIP_COMPRESS_SIZE

Functions§

cita_compress_to
cita_decompress_to
compress_to
Compress a buffer using snappy, write the result append to the given output buffer, growing it if necessary. Returns the length of the compressed data. Otherwise, raise an error if compress failed.
decompress_to
Decompress a buffer using snappy, write the result append to the given output buffer, growing it if necessary. Returns the length of the decompressed data. Otherwise, raise an error if uncompress failed.