Struct bitstream_io::read::ByteReader [−][src]
pub struct ByteReader<R: Read, E: Endianness> { /* fields omitted */ }
Expand description
For reading aligned bytes from a stream of bytes in a given endianness.
This only reads aligned values and maintains no internal state.
Implementations
Wraps a ByteReader around something that implements Read
Wraps a ByteReader around something that implements Read
with the given endianness.
Unwraps internal reader and disposes of ByteReader
.
Converts ByteReader
to BitReader
in the same endianness.