Skip to main content

encode_op

Function encode_op 

Source
pub fn encode_op(
    writer: &mut Writer,
    op: &Op<'_>,
    dict_builder: &mut DictionaryBuilder,
    property_types: &FxHashMap<Id, DataType>,
) -> Result<(), EncodeError>
Expand description

Encodes an Op to the writer.

Note: This function requires that the dictionary builder has already been populated with all IDs that will be referenced. Call collect_op_ids first.