Interface LongConstructor interface LongConstructor { new LongConstructor new ( low : number ,
high ?: number ,
unsigned ?: boolean ) : Long . Long ; MAX_UNSIGNED_VALUE : Long . Long ; MAX_VALUE : Long . Long ; MIN_VALUE : Long . Long ; NEG_ONE : Long . Long ; ONE : Long . Long ; prototype : Long . Long ; UONE : Long . Long ; UZERO : Long . Long ; ZERO : Long . Long ; fromBits ( lowBits : number ,
highBits : number ,
unsigned ?: boolean ) : Long . Long ; fromBytes ( bytes : number [] ,
unsigned ?: boolean ,
le ?: boolean ) : Long . Long ; fromBytesBE ( bytes : number [] ,
unsigned ?: boolean ) : Long . Long ; fromBytesLE ( bytes : number [] ,
unsigned ?: boolean ) : Long . Long ; fromInt ( value : number ,
unsigned ?: boolean ) : Long . Long ; fromNumber ( value : number ,
unsigned ?: boolean ) : Long . Long ; fromString ( str : string ,
unsigned ?: number | boolean ,
radix ?: number ) : Long . Long ; fromValue ( val : | string | number | Long . Long | { high : number ; low : number ; unsigned : boolean ; } ,
unsigned ?: boolean ) : Long . Long ; isLong ( obj : any ) : obj is Long . Long ; } Defined in node_modules/@types/long/index.d.ts:13 Constructorsconstructor new Long Constructor ( low , high ? , unsigned ? ) : Long . Long Parameters low : number Optional
high : number Optional
unsigned : boolean Defined in node_modules/@types/long/index.d.ts:17 PropertiesMAX_ UNSIGNED_ VALUE Defined in node_modules/@types/long/index.d.ts:22 MAX_ VALUE Defined in node_modules/@types/long/index.d.ts:27 MIN_ VALUE Defined in node_modules/@types/long/index.d.ts:32 NEG_ ONE Defined in node_modules/@types/long/index.d.ts:37 ONE Defined in node_modules/@types/long/index.d.ts:42 prototype Defined in node_modules/@types/long/index.d.ts:18 UONE Defined in node_modules/@types/long/index.d.ts:47 UZERO Defined in node_modules/@types/long/index.d.ts:52 ZERO Defined in node_modules/@types/long/index.d.ts:57 Methodsfrom Bits from Bits ( lowBits , highBits , unsigned ? ) : Long . Long Parameters lowBits : number highBits : number Optional
unsigned : boolean Defined in node_modules/@types/long/index.d.ts:62 from Bytes from Bytes ( bytes , unsigned ? , le ? ) : Long . Long Parameters bytes : number [] Optional
unsigned : boolean Optional
le : boolean Defined in node_modules/@types/long/index.d.ts:82 from BytesBE from BytesBE ( bytes , unsigned ? ) : Long . Long Parameters bytes : number [] Optional
unsigned : boolean Defined in node_modules/@types/long/index.d.ts:92 from BytesLE from BytesLE ( bytes , unsigned ? ) : Long . Long Parameters bytes : number [] Optional
unsigned : boolean Defined in node_modules/@types/long/index.d.ts:87 from Int from Int ( value , unsigned ? ) : Long . Long Parameters value : number Optional
unsigned : boolean Defined in node_modules/@types/long/index.d.ts:67 from Number from Number ( value , unsigned ? ) : Long . Long Parameters value : number Optional
unsigned : boolean Defined in node_modules/@types/long/index.d.ts:72 from String from String ( str , unsigned ? , radix ? ) : Long . Long Parameters str : string Optional
unsigned : number | boolean Optional
radix : number Defined in node_modules/@types/long/index.d.ts:77 from Value from Value ( val , unsigned ? ) : Long . Long Parameters val : | string | number | Long . Long | { high : number ; low : number ; unsigned : boolean ; } Optional
unsigned : boolean Defined in node_modules/@types/long/index.d.ts:102 is Long is Long ( obj ) : obj is Long . Long Defined in node_modules/@types/long/index.d.ts:97
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.