import { Long } from "https://deno.land/x/mysql2@v1.0.6/deps.ts";
Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as signed integers. See the from* functions below for more convenient ways of constructing Longs.
Methods
clz()
ctz()
eqz()
getNumBitsAbs(): number
greaterThan(other: Long | number | string)
greaterThanOrEqual(other: Long | number | string)
isEven()
isOdd()
isZero()
lessThanOrEqual(other: Long | number | string)
neg()
negate()
not()
rotateLeft(numBits0: Long | number)
rotateRight(numBits0: Long | number)
shiftRight(numBits0: Long | number)
shiftRightUnsigned(numBits0: Long | number)
toBytes(le: boolean)
toInt(): number
toNumber()
toSigned()
toString(radix?: number): string
Static Properties
INT_CACHE: { [key: number]: Long; }
A cache of the Long representations of small integer values.
MAX_UNSIGNED_VALUE: Long
MAX_VALUE: Long
MIN_VALUE: Long
NEG_ONE: Long
ONE: Long
UINT_CACHE: { [key: number]: Long; }
A cache of the Long representations of small unsigned integer values.
UONE: Long
UZERO: Long
ZERO: Long
Static Methods
fromBytes()
bytes: number[],
unsigned?,
le?,
fromBytesBE(bytes: number[], unsigned?)
fromBytesLE(bytes: number[], unsigned?)
fromNumber(value: number, unsigned?): Long
fromString(): Long
str: string,
unsigned: boolean | number,
radix?: number,
isLong(obj: any): boolean