Initializer

init(uuidBytes:)

Initializes a new UUID with the given bytes.

Declaration

convenience init(uuidBytes bytes: UnsafePointer<UInt8>?)

Parameters

bytes

Raw UUID bytes to use to create the UUID.

Return Value

A new UUID object.

See Also

Creating UUIDs

init()

Initializes a new UUID with RFC 4122 version 4 random bytes.

init?(uuidString: String)

Initializes a new UUID with the formatted string.