pub struct StreamingDecoder<'a, W: Write> { /* private fields */ }Expand description
Streaming decoder for processing large amounts of encoded data efficiently.
Processes data in chunks to avoid loading entire files into memory. Suitable for decoding large files or network streams.
Implementations§
Source§impl<'a, W: Write> StreamingDecoder<'a, W>
impl<'a, W: Write> StreamingDecoder<'a, W>
Sourcepub fn new(dictionary: &'a Dictionary, writer: W) -> Self
pub fn new(dictionary: &'a Dictionary, writer: W) -> Self
Creates a new streaming decoder.
§Arguments
dictionary- The dictionary used for encodingwriter- The destination for decoded output
Auto Trait Implementations§
impl<'a, W> Freeze for StreamingDecoder<'a, W>where
W: Freeze,
impl<'a, W> RefUnwindSafe for StreamingDecoder<'a, W>where
W: RefUnwindSafe,
impl<'a, W> Send for StreamingDecoder<'a, W>where
W: Send,
impl<'a, W> Sync for StreamingDecoder<'a, W>where
W: Sync,
impl<'a, W> Unpin for StreamingDecoder<'a, W>where
W: Unpin,
impl<'a, W> UnwindSafe for StreamingDecoder<'a, W>where
W: UnwindSafe,
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