pub struct FixedHuffmanDecoder { /* private fields */ }Implementations§
Source§impl FixedHuffmanDecoder
impl FixedHuffmanDecoder
pub fn new() -> Self
pub fn initialize( lengths: &[isize], max_code_length: isize, zeros: bool, ) -> Result<Self, InitializationError>
pub fn add_value( &mut self, value: i32, code: u32, length: usize, repeat_pos: usize, ) -> Result<(), InitializationError>
pub fn add_value_lf( &mut self, value: i32, code: u32, length: usize, repeat_pos: usize, ) -> Result<(), InitializationError>
pub fn next_symbol<R: Read + Seek, E: Endianness>( &mut self, input: &mut BitReader<R, E>, ) -> Result<i32>
pub fn make_table(&mut self, little_endian: bool)
Trait Implementations§
Source§impl Clone for FixedHuffmanDecoder
impl Clone for FixedHuffmanDecoder
Source§fn clone(&self) -> FixedHuffmanDecoder
fn clone(&self) -> FixedHuffmanDecoder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FixedHuffmanDecoder
impl RefUnwindSafe for FixedHuffmanDecoder
impl Send for FixedHuffmanDecoder
impl Sync for FixedHuffmanDecoder
impl Unpin for FixedHuffmanDecoder
impl UnsafeUnpin for FixedHuffmanDecoder
impl UnwindSafe for FixedHuffmanDecoder
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