G2Projective.fromBytes constructor

G2Projective.fromBytes(
  1. List<int> bytes
)

Creates a G2 point from bytes, validating that it is on-curve and in the correct subgroup.

Implementation

factory G2Projective.fromBytes(List<int> bytes) {
  return G2Projective.fromAffine(G2AffinePoint.fromBytes(bytes));
}