Struct bitstream_io::write::ByteWriter [−][src]
pub struct ByteWriter<W: Write, E: Endianness> { /* fields omitted */ }
Expand description
For writing aligned bytes to a stream of bytes in a given endianness.
This only writes aligned values and maintains no internal state.
Implementations
Wraps a ByteWriter around something that implements Write
Wraps a BitWriter around something that implements Write
with the given endianness.
Unwraps internal writer and disposes of ByteWriter.
Any unwritten partial bits are discarded.
Converts ByteWriter to BitWriter in the same endianness.
Trait Implementations
Auto Trait Implementations
impl<W, E> RefUnwindSafe for ByteWriter<W, E> where
E: RefUnwindSafe,
W: RefUnwindSafe, impl<W, E> Send for ByteWriter<W, E> where
E: Send,
W: Send, impl<W, E> Sync for ByteWriter<W, E> where
E: Sync,
W: Sync, impl<W, E> Unpin for ByteWriter<W, E> where
E: Unpin,
W: Unpin, impl<W, E> UnwindSafe for ByteWriter<W, E> where
E: UnwindSafe,
W: UnwindSafe,