System.SysUtils.TGuidHelper.ToByteArray
Delphi
function ToByteArray(DataEndian: TEndian = TEndian.Little): TBytes;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TGUIDHelper |
Description
Converts a TGUID to a byte array.
TGuidHelper returns the corresponding 16 bytes of a TGUID.
Accepts an optional parameter, DataEndian
, that determines the format of the bytes that ToByteArray returns. The returned bytes are in little-endian format by default.