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.
Trait Implementations
Auto Trait Implementations
impl<R, E> RefUnwindSafe for ByteReader<R, E> where
E: RefUnwindSafe,
R: RefUnwindSafe, impl<R, E> Send for ByteReader<R, E> where
E: Send,
R: Send, impl<R, E> Sync for ByteReader<R, E> where
E: Sync,
R: Sync, impl<R, E> Unpin for ByteReader<R, E> where
E: Unpin,
R: Unpin, impl<R, E> UnwindSafe for ByteReader<R, E> where
E: UnwindSafe,
R: UnwindSafe,