serde_cbor::ser

Function to_writer

Source
pub fn to_writer<W, T>(writer: W, value: &T) -> Result<()>
where W: Write, T: Serialize,
Expand description

Serializes a value to a writer.