feFromBytes static method

List<int> feFromBytes(
  1. Secp256k1Fe f
)

create field from bytes

Implementation

static List<int> feFromBytes(Secp256k1Fe f) {
  final List<int> bytes = List<int>.filled(32, 0);
  Secp256k1.secp256k1FeGetB32(bytes, f);
  return bytes;
}