intToSortableBytes

fun intToSortableBytes(value: Int, result: ByteArray, offset: Int)

Encodes an integer value such that unsigned byte order comparison is consistent with Integer.compare

See also

.sortableBytesToInt