pub trait WriteExt {
// Required methods
fn write_le<T: WriteTo>(&mut self, val: T) -> Result<()>;
fn write_be<T: WriteTo>(&mut self, val: T) -> Result<()>;
}
Available on crate feature
std
only.Expand description
Endian aware write to a Write.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.