Skip to main content

encode_value

Function encode_value 

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

Encode v into MaxMind DB binary form.

ยงErrors

Returns an error if a payload is larger than the format can encode (16_843_036 bytes).