pub fn to_writer<T: ?Sized + Serialize>( value: &T, writer: impl Write ) -> Result<usize>
Serializes value to writer and returns the amount of serialized bytes
value
writer