Skip to main content
browser.Long Not exported: an exported type refers to it.

Constructors

constructor

• new Long(low, high)

Parameters

Properties

low

• low: number

high

• high: number

__isUnsignedLong__

• __isUnsignedLong__: boolean

Methods

isLong

▸ Static isLong(obj): boolean

Parameters

Returns

boolean

fromBytesLE

▸ Static fromBytesLE(bytes): Long

Parameters

Returns

Long

toBytesLE

▸ toBytesLE(): number[]

Returns

number[]

fromNumber

▸ Static fromNumber(value): Long

Parameters

Returns

Long

toString

▸ toString(): string

Returns

string

equals

▸ equals(other): boolean

Parameters

Returns

boolean

notEquals

▸ notEquals(other): boolean

Parameters

Returns

boolean

comp

▸ comp(other): 1 | 0 | -1

Parameters

Returns

1 | 0 | -1

lessThanOrEqual

▸ lessThanOrEqual(other): boolean

Parameters

Returns

boolean

fromValue

▸ Static fromValue(val): Long

Parameters

Returns

Long