pub fn encode(value: &Value) -> Result<Vec<u8>, IntOutOfRange>
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.
value