pub fn write_u16<W: Write>(writer: &mut W, value: u16) -> Result<()>
Writes little-endian u16.
u16
Propagates the writer’s I/O error.