Trait streaming_decompression::Decompressed

source ·
pub trait Decompressed {
    // Required method
    fn buffer_mut(&mut self) -> &mut Vec<u8>;
}
Expand description

Trait denoting an uncompressed item. Use buffer_mut to expose a mutable reference to its internal buffer, which Decompressor will use to recover a decompressed buffer for re-use.

Required Methods§

source

fn buffer_mut(&mut self) -> &mut Vec<u8>

Implementors§