Function brotli2::raw::decompress_buf[][src]

pub fn decompress_buf(
    input: &[u8],
    output: &mut &mut [u8]
) -> Result<usize, Error>

Decompress data in one go in memory.

Decompresses the data in input into the output buffer. The output buffer is updated to point to the actual output slice if successful, or an error is returned. The output buffer being too small is considered to be an error.