Skip to main content

encode_value

Function encode_value 

Source
pub fn encode_value(
    value: &Value,
    format: Format,
) -> Result<(Vec<u8>, u32), Error>
Expand description

Encode a dynamic Value to the specified format.

Returns the encoded bytes and the appropriate OID.