Interface LongConstructor
Defined in node_modules/@types/long/index.d.ts:13
Constructors
constructor
new Long Constructor( low: number , high?: number , unsigned?: boolean ) : Long . Long
Parameters
low: number
Optional
high: number
Optional
unsigned: boolean
Defined in node_modules/@types/long/index.d.ts:17
Properties
MAX_ 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
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
prototype
Defined in node_modules/@types/long/index.d.ts:18
Methods
from Bits
from Bits( lowBits: number , highBits: number , unsigned?: boolean ) : 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: number [] , unsigned?: boolean , le?: boolean ) : 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: number [] , unsigned?: boolean ) : Long . Long
Parameters
bytes: number []
Optional
unsigned: boolean
Defined in node_modules/@types/long/index.d.ts:92
from BytesLE
from BytesLE( bytes: number [] , unsigned?: boolean ) : Long . Long
Parameters
bytes: number []
Optional
unsigned: boolean
Defined in node_modules/@types/long/index.d.ts:87
from Int
from Int( value: number , unsigned?: boolean ) : Long . Long
Parameters
value: number
Optional
unsigned: boolean
Defined in node_modules/@types/long/index.d.ts:67
from Number
from Number( value: number , unsigned?: boolean ) : Long . Long
Parameters
value: number
Optional
unsigned: boolean
Defined in node_modules/@types/long/index.d.ts:72
from String
from String( str: string , unsigned?: number | boolean , radix?: number ) : 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: string | number | Long . Long | { high: number ; low: number ; unsigned: boolean ; } , unsigned?: boolean ) : 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: any ) : 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.