Function minicbor::encode

source ·
pub fn encode<T, W>(x: T, w: W) -> Result<(), Error<W::Error>>
where T: Encode<()>, W: Write,
Expand description

Encode a type implementing Encode to the given encode::Write impl.