Companion

object Companion

Functions

Link copied to clipboard
fun from(bytes: ByteArray): RealmUUID

Generates a new RealmUUID based on the specified byte array. A valid UUID is represented by a byte array of size 16.

fun from(uuidString: String): RealmUUID

Generates a new RealmUUID from the UUID formatted string. UUID are represented as 32 hexadecimal (base-16) digits, displayed in five groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 hexadecimal characters and 4 hyphens).

Link copied to clipboard

Generates a new RealmUUID type 4 (pseudo randomly generated) UUID.