Skip to main content

to_cbor

Function to_cbor 

Source
pub fn to_cbor<T>(value: &T) -> Vec<u8> 
where T: Encode<()>,
Expand description

Encode any serialisable value T into bytes.