BitReadFill

Trait BitReadFill 

Source
pub trait BitReadFill {
    // Required methods
    fn can_refill(&self) -> bool;
    fn fill32(&self) -> u64;
    fn fill64(&self) -> u64;
}
Expand description

Used to extract a sequence of bits from an internal buffer.

Required Methods§

Source

fn can_refill(&self) -> bool

Tells if it is still possible to read bits from an internal buffer.

Source

fn fill32(&self) -> u64

Gets a 32-bits sequence from an internal buffer.

Source

fn fill64(&self) -> u64

Gets a 64-bits sequence from an internal buffer.

Implementors§