Module cramjam::snappy[][src]

Expand description

snappy de/compression interface

Functions

compress

Snappy compression.

compress_into

Compress directly into an output buffer

compress_raw

Snappy compression raw. This does not use the snappy ‘framed’ encoding of compressed bytes.

compress_raw_into

Compress raw format directly into an output buffer

compress_raw_max_len

Get the expected max compressed length for snappy raw compression; this is the size of buffer that should be passed to compress_raw_into

decompress

Snappy decompression.

decompress_into

Decompress directly into an output buffer

decompress_raw

Snappy decompression, raw This does not use the snappy ‘framed’ encoding of compressed bytes.

decompress_raw_into

Decompress raw format directly into an output buffer

decompress_raw_len

Get the decompressed length for the given data. This is the size of buffer that should be passed to decompress_raw_into