[][src]Function snarkos_dpc::base_dpc::record::record_serializer::encode_to_group

pub fn encode_to_group<P: MontgomeryModelParameters + TEModelParameters, G: Group + ProjectiveCurve>(
    x_bytes: &[u8]
) -> Result<(<G as ProjectiveCurve>::Affine, bool), DPCError>

Encode a base field element bytes to a group representation