pub fn encode_blocks(input: &[u8], block_size: usize) -> Result<Vec<u8>>Available on crate feature
encoder only.Expand description
Encodes bytes into lzf framed block streams (ZV\0/ZV\1).
Encodes input into lzf block stream format (ZV\0/ZV\1 blocks).
block_size must be in 1..=65535.
For each block, compressed payload is used when it fits in the framed compressed form; otherwise an uncompressed block is emitted.