encodePoint static method
Implementation
static ProjectiveECCPoint encodePoint(List<int> bytes) {
try {
return ProjectiveECCPoint.fromBytes(
curve: MuSig2Constants.curve,
data: bytes,
);
} catch (_) {
throw ArgumentException.invalidOperationArguments(
"encodePoint",
name: "keys",
reason: "Invalid public key.",
);
}
}