asU16 property

BigInt get asU16

Implementation

BigInt get asU16 {
  if (isNegative || this > BinaryOps.maskBig16) {
    throw CoreErrors.invalidOperationArguments(
      "asU16",
      reason: "Invalid 16-bit unsigned integer.",
    );
  }
  return this;
}