pub fn decode(bytes: &[u8], max_len: usize, out: &mut Vec<u8>) -> Result<()>Expand description
Decodes an encoded buffer, appending at most max_len bytes to
out. With the zstd feature this is libzstd; without it, ruzstd.
A rejected payload leaves out untouched.