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