minicbor

Function encode_with

Source
pub fn encode_with<C, T, W>(
    x: T,
    w: W,
    ctx: &mut C,
) -> Result<(), Error<W::Error>>
where T: Encode<C>, W: Write,
Expand description

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