Struct ruzstd::decoding::scratch::DecoderScratch
source · pub struct DecoderScratch {
pub huf: HuffmanScratch,
pub fse: FSEScratch,
pub buffer: Decodebuffer,
pub offset_hist: [u32; 3],
pub literals_buffer: Vec<u8>,
pub sequences: Vec<Sequence>,
pub block_content_buffer: Vec<u8>,
}
Fields§
§huf: HuffmanScratch
§fse: FSEScratch
§buffer: Decodebuffer
§offset_hist: [u32; 3]
§literals_buffer: Vec<u8>
§sequences: Vec<Sequence>
§block_content_buffer: Vec<u8>
Implementations§
source§impl DecoderScratch
impl DecoderScratch
pub fn new(window_size: usize) -> DecoderScratch
pub fn reset(&mut self, window_size: usize)
pub fn init_from_dict(&mut self, dict: &Dictionary)
Auto Trait Implementations§
impl RefUnwindSafe for DecoderScratch
impl !Send for DecoderScratch
impl !Sync for DecoderScratch
impl Unpin for DecoderScratch
impl UnwindSafe for DecoderScratch
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more