ProjectiveECCPoint.fromBytes constructor
Constructs a ProjectiveECCPoint from a byte representation.
The curve parameter specifies the elliptic curve, and data is the byte data.
order is the order of the point.
Implementation
factory ProjectiveECCPoint.fromBytes({
required CurveFp curve,
required List<int> data,
BigInt? order,
}) {
final coords = _NativeProjectiveUtils.fromBytes(curve, data);
final x = coords.$1;
final y = coords.$2;
return ProjectiveECCPoint(
curve: curve,
x: x,
y: y,
z: BigInt.one,
generator: false,
order: order,
);
}