G2NativeProjective.fromBytes constructor

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

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

Implementation

factory G2NativeProjective.fromBytes(List<int> bytes) {
  return G2NativeProjective.fromAffine(G2NativeAffinePoint.fromBytes(bytes));
}