Function minicbor::encode [−][src]
pub fn encode<T, W>(x: T, w: W) -> Result<(), Error<W::Error>> where
T: Encode,
W: Write,
Encode a type implementing Encode
to the given encode::Write
impl.
pub fn encode<T, W>(x: T, w: W) -> Result<(), Error<W::Error>> where
T: Encode,
W: Write,
Encode a type implementing Encode
to the given encode::Write
impl.