pub fn encode(value: &Value, out: &mut Vec<u8>)
Encode a value into out, appending its on-disk byte sequence.
out
The first byte is always type_tag of value; the remainder is the variant-specific payload.
type_tag
value