longToSortableBytes

fun longToSortableBytes(value: Long, result: ByteArray, offset: Int)

Encodes an long value such that unsigned byte order comparison is consistent with Long.compare

See also

.sortableBytesToLong