toUuidFlipped

fun ByteArray.toUuidFlipped(): UUID

Read ByteArray as two longs and combine the to UUID.

Expects following order: UUID.leastSigBits - UUID.mostSigBits.

Sources

Katlib source
Link copied to clipboard