Skip to main content

encode_occ_value

Function encode_occ_value 

Source
pub fn encode_occ_value(
    array: bool,
    value: OccurrenceValue,
    payload: Option<&[u8]>,
) -> Vec<u8> ⓘ
Expand description

Encode an occurrence row value: flags || state || payload, where state is OCC_STATE_NULL, OCC_STATE_EMPTY_ARRAY, or the logical type tag of a stored scalar followed by its order-preserving payload.