geToBytes static method
Implementation
static List<int> geToBytes(Secp256k1Ge element) {
final p = secp256k1ECkeyPubkeySerialize(element, true);
if (p == null) {
throw ArgumentException.invalidOperationArguments(
"geToEcPoint",
name: "element",
reason: "Invalid point data.",
);
}
return p;
}