class Long
Constructor
new
Long
()Long constructor, wrapper of the internal library used: Long.js
.
Methods
Long.fromBuffer
()Returns a long representation. Used internally for deserialization
- Static
- This function is static
inspect
()Provide the name of the constructor and the string representation
Long.toBuffer
(Long
value)
Returns a big-endian buffer representation of the Long instance
- Static
- This function is static
toJSON
()Returns the string representation. Method used by the native JSON.stringify() to serialize this instance