pub fn canonical_encode<T: Serialize>(value: &T) -> Result<Vec<u8>, CodecError>
Encode value to its canonical DAG-CBOR bytes — the form the content address is taken over. Equal (order-stable) values produce equal bytes.
value