Struct lzw::MsbReader [] [src]

pub struct MsbReader {
    // some fields omitted
}

Reads bits from a byte stream, MSB first.

Methods

impl MsbReader
[src]

fn new() -> MsbReader

Creates a new bit reader

Trait Implementations

impl Debug for MsbReader
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl BitReader for MsbReader
[src]

fn read_bits(&mut self, buf: &[u8], n: u8) -> Bits

Returns the next n bits.