uuid / com.benasher44.uuid / variant

variant

expect val Uuid.variant: Int

The variant of the Uuid, determines the interpretation of the bits.

assertEquals(0, uuidFrom("00000000-0000-0000-0000-000000000000").variant, "Nil or NCS")
assertEquals(2, uuidFrom("00000000-0000-0000-8000-000000000000").variant, "RFC 4122")
assertEquals(6, uuidFrom("00000000-0000-0000-c000-000000000000").variant, "Microsoft")
assertEquals(7, uuidFrom("00000000-0000-0000-e000-000000000000").variant, "Future")

Return
The variant number of this Uuid.