secp256k1I128ToI64 static method

BigInt secp256k1I128ToI64(
  1. Secp256k1Int128 a
)

Implementation

static BigInt secp256k1I128ToI64(Secp256k1Int128 a) {
  /// Verify that a represents a 64 bit signed value by checking that the high bits are a sign extension of the low bits.
  return secp256k1I128ToU64(a).toSigned64;
}