Skip to main content

compress_blocking

Function compress_blocking 

Source
pub fn compress_blocking(
    input: &[u8],
    level: i32,
) -> Result<(Vec<u8>, ChunkManifest), CodecError>
Expand description

Sync compress sibling of decompress_blocking. Provided for symmetry — the browser side rarely compresses (it’s read-only), but having both halves keeps the API explainable and useful for offline tooling.