Skip to main content

encode

Function encode 

Source
pub fn encode(value: &Value, out: &mut Vec<u8>)
Expand description

Encode a value into out, appending its on-disk byte sequence.

The first byte is always type_tag of value; the remainder is the variant-specific payload.