fromBytes method

  1. @override
PallasFp fromBytes(
  1. List<int> bytes
)
override

Implementation

@override
PallasFp fromBytes(List<int> bytes) {
  if (bytes.length == 32) {
    return PallasFp.fromBytes(bytes);
  }
  return PallasFp.fromBytes64(bytes);
}