open static fun ofUnsignedLong(value: Long): Bytes!
(source)
Return an 8-byte value corresponding to the provided value interpreted as an unsigned long.
value
- Long: The value, which will be interpreted as an unsigned long.
IllegalArgumentException
- if value < 0
or value
is too big to fit an unsigned 8-byte int (that is, if value >= (1L << 64)
).
Return
Bytes!: A 8 bytes value corresponding to value
.
open static fun ofUnsignedLong(value: Long, order: ByteOrder!): Bytes!
(source)
Return an 8-byte value corresponding to the provided value interpreted as an unsigned long.
value
- Long: The value, which will be interpreted as an unsigned long.
order
- ByteOrder!: The byte-order for the integer encoding.
IllegalArgumentException
- if value < 0
or value
is too big to fit an unsigned 8-byte int (that is, if value >= (1L << 64)
).
Return
Bytes!: A 8 bytes value corresponding to value
.