Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
dcodeIO
LongStatic
Interface LongStatic
Index
Construct signatures
constructor
Properties
MAX_SIGNED_VALUE
MAX_UNSIGNED_VALUE
MAX_VALUE
MIN_SIGNED_VALUE
MIN_UNSIGNED_VALUE
MIN_VALUE
NEG_ONE
ONE
ZERO
Methods
from28Bits
fromBits
fromInt
fromNumber
fromString
Construct signatures
constructor
(
low
:
number
, high
:
number
, unsigned
?:
boolean
)
:
Long
Parameters
low:
number
high:
number
unsigned?:
boolean
optional
Returns
Long
Properties
public
MAX_SIGNED_VALUE
:
Long
public
MAX_UNSIGNED_VALUE
:
Long
public
MAX_VALUE
:
Long
public
MIN_SIGNED_VALUE
:
Long
public
MIN_UNSIGNED_VALUE
:
Long
public
MIN_VALUE
:
Long
public
NEG_ONE
:
Long
public
ONE
:
Long
public
ZERO
:
Long
Methods
public
from28Bits
(
part0
:
number
, part1
:
number
, part2
:
number
, unsigned
?:
boolean
)
:
Long
Parameters
part0:
number
part1:
number
part2:
number
unsigned?:
boolean
optional
Returns
Long
public
fromBits
(
lowBits
:
number
, highBits
:
number
, unsigned
?:
boolean
)
:
Long
Parameters
lowBits:
number
highBits:
number
unsigned?:
boolean
optional
Returns
Long
public
fromInt
(
value
:
number
, unsigned
?:
boolean
)
:
Long
Parameters
value:
number
unsigned?:
boolean
optional
Returns
Long
public
fromNumber
(
value
:
number
, unsigned
?:
boolean
)
:
Long
Parameters
value:
number
unsigned?:
boolean
optional
Returns
Long
public
fromString
(
str
:
string
, unsigned
?:
boolean
, radix
?:
number
)
:
Long
Parameters
str:
string
unsigned?:
boolean
optional
radix?:
number
optional
Returns
Long
public
fromString
(
str
:
string
, unsigned
?:
number
, radix
?:
number
)
:
Long
Parameters
str:
string
unsigned?:
number
optional
radix?:
number
optional
Returns
Long
public
fromString
(
str
:
string
, unsigned
?:
any
, radix
?:
number
)
:
Long
Parameters
str:
string
unsigned?:
any
optional
radix?:
number
optional
Returns
Long
Globals
dcodeIO
long
Long
LongStatic
constructor
MAX_SIGNED_VALUE
MAX_UNSIGNED_VALUE
MAX_VALUE
MIN_SIGNED_VALUE
MIN_UNSIGNED_VALUE
MIN_VALUE
NEG_ONE
ONE
ZERO
from28Bits
fromBits
fromInt
fromNumber
fromString