Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:1 Constructorsconstructor new Long ( low , high ? , unsigned ? ) : Long Parameters low : number Optional
high : number Optional
unsigned : boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:5 Propertieshigh high : number
Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:50 low low : number
Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:55 unsigned unsigned : boolean
Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:60 Static
MAX_ UNSIGNED_ VALUE Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:10 Static
MAX_ VALUE Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:15 Static
MIN_ VALUE Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:20 Static
NEG_ ONE Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:25 Static
ONE Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:30 Static
UONE Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:35 Static
UZERO Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:40 Static
ZERO Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:45 Methodsadd add ( addend ) : Long Parameters addend : string | number | Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:121 and and ( other ) : Long Parameters other : string | number | Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:126 clz clz ( ) : number Returns number Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:311 comp comp ( other ) : number Parameters other : string | number | Long Returns number Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:136 compare compare ( other ) : number Parameters other : string | number | Long Returns number Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:131 count Leading Zeros count Leading Zeros ( ) : number Returns number Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:306 count Trailing Zeros count Trailing Zeros ( ) : number Returns number Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:316 ctz ctz ( ) : number Returns number Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:321 div div ( divisor ) : Long Parameters divisor : string | number | Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:146 divide divide ( divisor ) : Long Parameters divisor : string | number | Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:141 eq eq ( other ) : boolean Parameters other : string | number | Long Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:156 equals equals ( other ) : boolean Parameters other : string | number | Long Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:151 eqz eqz ( ) : boolean Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:236 ge ge ( other ) : boolean Parameters other : string | number | Long Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:206 get High Bits get High Bits ( ) : number Returns number Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:161 get High Bits Unsigned get High Bits Unsigned ( ) : number Returns number Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:166 get Low Bits get Low Bits ( ) : number Returns number Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:171 get Low Bits Unsigned get Low Bits Unsigned ( ) : number Returns number Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:176 get Num Bits Abs get Num Bits Abs ( ) : number Returns number Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:181 greater Than greater Than ( other ) : boolean Parameters other : string | number | Long Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:186 greater Than Or Equal greater Than Or Equal ( other ) : boolean Parameters other : string | number | Long Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:196 gt gt ( other ) : boolean Parameters other : string | number | Long Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:191 gte gte ( other ) : boolean Parameters other : string | number | Long Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:201 is Even is Even ( ) : boolean Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:211 is Negative is Negative ( ) : boolean Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:216 is Odd is Odd ( ) : boolean Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:221 is Positive is Positive ( ) : boolean Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:226 is Zero is Zero ( ) : boolean Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:231 le le ( other ) : boolean Parameters other : string | number | Long Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:261 less Than less Than ( other ) : boolean Parameters other : string | number | Long Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:241 less Than Or Equal less Than Or Equal ( other ) : boolean Parameters other : string | number | Long Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:251 lt lt ( other ) : boolean Parameters other : string | number | Long Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:246 lte lte ( other ) : boolean Parameters other : string | number | Long Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:256 mod mod ( other ) : Long Parameters other : string | number | Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:271 modulo modulo ( other ) : Long Parameters other : string | number | Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:266 mul mul ( multiplier ) : Long Parameters multiplier : string | number | Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:286 multiply multiply ( multiplier ) : Long Parameters multiplier : string | number | Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:281 ne ne ( other ) : boolean Parameters other : string | number | Long Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:336 neg neg ( ) : Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:296 negate negate ( ) : Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:291 neq neq ( other ) : boolean Parameters other : string | number | Long Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:331 not not ( ) : Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:301 not Equals not Equals ( other ) : boolean Parameters other : string | number | Long Returns boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:326 or or ( other ) : Long Parameters other : string | number | Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:341 rem rem ( other ) : Long Parameters other : string | number | Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:276 rotate Left rotate Left ( numBits ) : Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:381 rotate Right rotate Right ( numBits ) : Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:391 rotl rotl ( numBits ) : Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:386 rotr rotr ( numBits ) : Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:396 shift Left shift Left ( numBits ) : Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:346 shift Right shift Right ( numBits ) : Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:356 shift Right Unsigned shift Right Unsigned ( numBits ) : Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:366 shl shl ( numBits ) : Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:351 shr shr ( numBits ) : Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:361 shr_ u shr_ u ( numBits ) : Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:376 shru shru ( numBits ) : Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:371 sub sub ( subtrahend ) : Long Parameters subtrahend : string | number | Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:406 subtract subtract ( subtrahend ) : Long Parameters subtrahend : string | number | Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:401 to Bytes to Bytes ( le ? ) : number [] Returns number [] Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:422 to BytesBE to BytesBE ( ) : number [] Returns number [] Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:434 to BytesLE to BytesLE ( ) : number [] Returns number [] Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:428 to Int to Int ( ) : number Returns number Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:411 to Number to Number ( ) : number Returns number Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:416 to Signed to Signed ( ) : Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:439 to String to String ( radix ? ) : string Returns string Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:444 to Unsigned to Unsigned ( ) : Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:449 xor xor ( other ) : Long Parameters other : string | number | Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:454 Static
from Bits from Bits ( lowBits , highBits , unsigned ? ) : Long Parameters lowBits : number highBits : number Optional
unsigned : boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:65 Static
from Bytes from Bytes ( bytes , unsigned ? , le ? ) : Long Parameters bytes : number [] Optional
unsigned : boolean Optional
le : boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:89 Static
from BytesBE from BytesBE ( bytes , unsigned ? ) : Long Parameters bytes : number [] Optional
unsigned : boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:99 Static
from BytesLE from BytesLE ( bytes , unsigned ? ) : Long Parameters bytes : number [] Optional
unsigned : boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:94 Static
from Int from Int ( value , unsigned ? ) : Long Parameters value : number Optional
unsigned : boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:70 Static
from Number from Number ( value , unsigned ? ) : Long Parameters value : number Optional
unsigned : boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:75 Static
from String from String ( str , unsigned ? , radix ? ) : Long Parameters str : string Optional
unsigned : number | boolean Optional
radix : number Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:80 Static
from Value from Value ( val , unsigned ? ) : Long Parameters val : | string | number | Long | { high : number ; low : number ; unsigned : boolean ; } Optional
unsigned : boolean Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:109 Static
is Long is Long ( obj ) : obj is Long Returns obj is Long Defined in node_modules/.pnpm/long@5.2.3/node_modules/long/index.d.ts:104
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.