encodePoint static method
Implementation
static ProjectiveECCPoint encodePoint(List<int> bytes) {
try {
return ProjectiveECCPoint.fromBytes(
curve: MuSig2Const.curve, data: bytes);
} catch (e) {
throw MuSig2Exception("Invalid point.",
details: {"message": e.toString()});
}
}