Struct bitstream_io::LittleEndian
[−]
[src]
pub struct LittleEndian {}
Little-endian, or least significant bits first
Trait Implementations
impl Endianness for LittleEndian
[src]
fn push<N>(bits_acc: &mut u32, value_acc: &mut N, bits: u32, value: N) where
N: Numeric,
[src]
N: Numeric,
Pushes the given bits and value onto an accumulator with the given bits and value. Read more
fn pop<N>(bits_acc: &mut u32, value_acc: &mut N, bits: u32) -> N where
N: Numeric,
[src]
N: Numeric,
Pops a value with the given number of bits from an accumulator with the given bits and value. Read more
fn drop<N>(bits_acc: &mut u32, value_acc: &mut N, bits: u32) where
N: Numeric,
[src]
N: Numeric,
Drops the given number of bits from an accumulator with the given bits and value. Read more
fn next_zeros<N>(_: u32, value: N) -> u32 where
N: Numeric,
[src]
N: Numeric,
Returns the next number of 0 bits from an accumulator with the given bits and value. Read more
fn next_ones<N>(_: u32, value: N) -> u32 where
N: Numeric,
[src]
N: Numeric,
Returns the next number of 1 bits from an accumulator with the given bits and value. Read more