kona_derive::stages

Function decompress_brotli

Source
pub fn decompress_brotli(
    data: &[u8],
    max_rlp_bytes_per_channel: usize,
) -> Result<Vec<u8>, BatchDecompressionError>
Expand description

Decompresses the given bytes data using the Brotli decompressor implemented in the brotli crate.