Function storage_proofs_core::gadgets::encode::decode

source ยท
pub fn decode<Scalar, CS>(
    cs: CS,
    key: &AllocatedNum<Scalar>,
    value: &AllocatedNum<Scalar>,
) -> Result<AllocatedNum<Scalar>, SynthesisError>
where Scalar: PrimeField, CS: ConstraintSystem<Scalar>,