pub fn evaluate_serialize<N: Network>(
variant: SerializeVariant,
input: &Value<N>,
destination_type: &ArrayType<N>,
) -> Result<Value<N>>Expand description
Evaluate a serialize operation.
This allows running serialize without the machinery of stacks and registers.
This is necessary for the Leo interpreter.