Skip to main content

encode

Function encode 

Source
pub fn encode(value: &Value) -> Result<Vec<u8>, IntOutOfRange>
Expand description

Encode value as deterministic CBOR. See the module doc for the exact rules; every one of them is verified against the real reference in this module’s tests.