toGuid

Creates a GUID from a legacy UUID.

@nogc
toGuid
()

Parameters

legacyUUID uint

The legacy UUID to convert.

Return Value

Type: GUID

A new GUID, with the time set to the legacy UUID, and the last byte set to 255.

Notes: You should ideally use GUIDs instead of UUIDs.

Meta