write_specific

Function write_specific 

Source
pub fn write_specific<W, E>(writer: &mut W, v: &E) -> Result<()>
where W: Write + ?Sized, E: EndianWrite,
Available on crate feature io-std only.
Expand description

Write an endian-aware value of type E to a writer.

Like read_specific, this supports both sized writers and &mut dyn std::io::Write.