Static
fromStatic
Private
fromStatic
fromCreates a value from the timestamp
and the combined nodeCtr
field
value.
RangeError if any argument is negative or larger than their
respective maximum value (36^12 / 2^24 - 1
and 2^24 - 1
, respectively).
Static
fromPrivate
constructorReadonly
bytesAn 8-byte byte array containing the 64-bit unsigned integer representation in the big-endian (network) byte order.
Returns the nodeId
and counter
field values combined as a single 24-bit
integer.
Returns the timestamp
field value.
Returns a negative integer, zero, or positive integer if this
is less
than, equal to, or greater than other
, respectively.
Returns true if this
is equivalent to other
.
Private
subStatic
ofCreates an object from the internal representation, an 8-byte byte array containing the 64-bit unsigned integer representation in the big-endian (network) byte order.
This method does NOT shallow-copy the argument, and thus the created object holds the reference to the underlying buffer.
RangeError if the length of the argument is not 8 or the argument
contains an unsigned integer larger than 36^12 - 1
.
Represents a SCRU64 ID.