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