Skip to main content

encode_value

Function encode_value 

Source
pub fn encode_value(value: &Value) -> Vec<u8> 
Expand description

Encodes an inner value to a [type_byte][payload] byte vector.

Panics for unsupported types (Int, Uint, Decimal, DictionaryId, Any, None, List, Type).