Declaration¶
Source position: syshelph.inc line 46
type
TGuidHelper = record helper for TGUID
class function Create(const Data; DataEndian: TEndian=CPUEndian) : TGUID; overload;
class function Create(const B: TBytes; DataEndian: TEndian=CPUEndian)
: TGUID; overload;
class function Create(const B: TBytes; AStartIndex: Cardinal;
DataEndian: TEndian=CPUEndian) : TGUID; overload;
class function Create(const S: string) : TGUID; overload;
class function Create(A: Integer; B: SmallInt; C: SmallInt;
const D: TBytes) : TGUID; overload;
class function Create(A: Integer; B: SmallInt; C: SmallInt; D: Byte;
E: Byte; F: Byte; G: Byte; H: Byte; I: Byte;
J: Byte; K: Byte) : TGUID; overload;
class function Create(A: Cardinal; B: Word; C: Word; D: Byte; E: Byte;
F: Byte; G: Byte; H: Byte; I: Byte; J: Byte;
K: Byte) : TGUID; overload;
class function NewGuid : TGUID;
function ToByteArray : TBytes;
function ToString : string;
end;
Inheritance¶
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Create | default | Initialize a TGUID instance from data. |
| NewGuid | default | Create a new GUID. |
| ToByteArray | default | Convert to array of bytes. |
| ToString | default | Convert to string. |