pub trait BitReadInternal: BitReadEndian + BitReadFill {
    fn left(&self) -> usize;
    fn refill32(&mut self);
    fn refill64(&mut self);

    fn get_val(&mut self, n: usize) -> u64 { ... }
}
Expand description

Used to interact with an internal buffer.

Required Methods

Gets the number of bits left in an internal buffer.

Extracts a 32-bit sequence from an internal buffer and saves it within an internal cache.

Extracts a 64-bit sequence from an internal buffer and saves it within an internal cache.

Provided Methods

Returns n bits from an internal buffer.

Implementors