Function fcode::to_writer [−][src]
pub fn to_writer<T: ?Sized, W>(w: &mut W, value: &T) -> Result<()> where
T: Serialize,
W: Write,
Serialize a value to a io::Write
implementation.
Use this to extend a Vec<u8>
, or feed into some compressor.