Skip to main content

encode_field

Function encode_field 

Source
pub fn encode_field(value: &Dynamic) -> Result<EncodedIndexKey>
Expand description

Encode a single Dynamic value to its order-preserving byte representation. Used both by the public encode_index_key and by the composite encoder.

ยงErrors

  • Error::Codec if value is a String containing an embedded 0x00 byte.