evaluate_deserialize

Function evaluate_deserialize 

Source
pub fn evaluate_deserialize<N: Network, F>(
    variant: DeserializeVariant,
    bits: &[bool],
    destination_type: &PlaintextType<N>,
    get_struct: &F,
) -> Result<Plaintext<N>>
where F: Fn(&Identifier<N>) -> Result<StructType<N>>,
Expand description

Evaluate a deserialize operation.

This allows running deserialize without the machinery of stacks and registers. This is necessary for the Leo interpreter.