JubJubNativePoint.fromBytes constructor

JubJubNativePoint.fromBytes(
  1. List<int> bytes, {
  2. bool zip216Enabled = true,
})

Implementation

factory JubJubNativePoint.fromBytes(
  List<int> bytes, {
  bool zip216Enabled = true,
}) {
  return JubJubNativePoint.fromAffinePoint(
    JubJubAffineNativePoint.fromBytes(bytes, zip216Enabled: zip216Enabled),
  );
}