Function snarkvm_dpc::testnet2::record::encoded::decode_from_group[][src]

pub fn decode_from_group<P: MontgomeryParameters + TwistedEdwardsParameters, G: Group + ProjectiveCurve>(
    affine: <G as ProjectiveCurve>::Affine,
    fq_high: bool
) -> Result<Vec<u8>, DPCError>
Expand description

Decode a group into the byte representation of a base field element