Skip to main content

encode_datum_with_codec

Function encode_datum_with_codec 

Source
pub fn encode_datum_with_codec(
    cx: &mut Cx,
    symbol: &Symbol,
    datum: &Datum,
    options: EncodeOptions,
) -> Result<Output>
Expand description

Encode a Datum with the codec named symbol, lifting it to an Expr first.