Was this page helpful?
Long¶
Methods¶
inspect() → {string}
Provide the name of the constructor and the string representation
Source
Returns:
- Type
- string
toJSON()
Returns the string representation. Method used by the native JSON.stringify() to serialize this instance
Source
(static) fromBuffer()
Returns a long representation. Used internally for deserialization
Source
(static) toBuffer(value)
Returns a big-endian buffer representation of the Long instance
Parameters:
| Name | Type | Description |
|---|---|---|
value |
Long |
Source