pub struct ByteReader<R> { /* private fields */ }
Construct a new ByteReader
from an iterator of u8
Construct a new ByteReader
from a slice of bytes.
Turn the reader into an iterator of bits.
Yields one bool
per bit, 1=true
and 0=false
.
Print the remaining data
Note: For debug purposes only, not part of the API.
look at the next (up to 16) bits of data Read more
Consume the given amount of bits from the input.
Assert that the next bits matches the given pattern. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.