pub struct Unpack50Decoder { /* private fields */ }Implementations§
Source§impl Unpack50Decoder
impl Unpack50Decoder
pub fn new() -> Self
pub fn decode_member( &mut self, input: &[u8], algorithm_version: u8, output_size: usize, solid: bool, mode: DecodeMode, ) -> Result<Vec<u8>>
pub fn decode_member_with_dictionary( &mut self, input: &[u8], algorithm_version: u8, output_size: usize, dictionary_size: usize, solid: bool, mode: DecodeMode, ) -> Result<Vec<u8>>
pub fn decode_member_from_reader( &mut self, input: &mut impl Read, algorithm_version: u8, output_size: usize, solid: bool, mode: DecodeMode, ) -> Result<Vec<u8>>
pub fn decode_member_from_reader_with_dictionary( &mut self, input: &mut impl Read, algorithm_version: u8, output_size: usize, dictionary_size: usize, solid: bool, mode: DecodeMode, ) -> Result<Vec<u8>>
pub fn decode_member_from_reader_with_dictionary_to_sink<E>( &mut self, input: &mut impl Read, algorithm_version: u8, output_size: usize, dictionary_size: usize, solid: bool, sink: impl FnMut(DecodedChunk<'_>) -> Result<(), E>, ) -> Result<(), StreamDecodeError<E>>
Trait Implementations§
Source§impl Clone for Unpack50Decoder
impl Clone for Unpack50Decoder
Source§fn clone(&self) -> Unpack50Decoder
fn clone(&self) -> Unpack50Decoder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Unpack50Decoder
impl Debug for Unpack50Decoder
Auto Trait Implementations§
impl Freeze for Unpack50Decoder
impl RefUnwindSafe for Unpack50Decoder
impl Send for Unpack50Decoder
impl Sync for Unpack50Decoder
impl Unpin for Unpack50Decoder
impl UnsafeUnpin for Unpack50Decoder
impl UnwindSafe for Unpack50Decoder
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