ECPublic.fromBytes constructor

ECPublic.fromBytes(
  1. Uint8List public
)

Implementation

ECPublic.fromBytes(Uint8List public) {
  if (!ec.isPoint(public)) {
    throw ArgumentError("Bad point");
  }
  final d = reEncodedFromForm(public, false);
  _key = d;
}