Skip to main content

encode_node_value

Function encode_node_value 

Source
pub fn encode_node_value(
    node_type: &str,
    props: &HashMap<String, SochValue>,
) -> Vec<u8> 
Expand description

Encode a node value (node_type + properties) as binary.

Format: [type_len: u16 BE][type_utf8][properties_bytes]