Function serde_ipld_dagcbor::to_writer
source · pub fn to_writer<W, T>(writer: W, value: &T) -> Result<(), EncodeError<Error>>where
W: Write,
T: Serialize,
Expand description
Serializes a value to a writer.
pub fn to_writer<W, T>(writer: W, value: &T) -> Result<(), EncodeError<Error>>where
W: Write,
T: Serialize,
Serializes a value to a writer.