[#BloombergLP-bdlb-Guid-2constructor-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Guid.adoc[Guid]::Guid :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bdlb_guid.h>` Construct a zero‐initialized guid object. Note that a zero‐ initialized guid object is not a GUID according to RFC 4122. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlb/Guid/2constructor-04.adoc[Guid](); ---- [.small]#xref:BloombergLP/bdlb/Guid/2constructor-04.adoc[_» more..._]# Construct a guid object with the internal buffer set equal to the specified `buffer` with the first byte representing the most significant byte. Note that this method does guarantee that the created guid object is a GUID. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlb/Guid/2constructor-0b.adoc[Guid](unsigned char const(& buffer)[]); ---- [.small]#xref:BloombergLP/bdlb/Guid/2constructor-0b.adoc[_» more..._]# Construct a guid object with an internal buffer composed from the specified `timeLow`, `timeMid`, `timeHiAndVersion`, `clockSeqHiRes`, `clockSeqLow`, and `node` as specified by RFC 4122. Note that only the least significant 48 bits of `node` are used in constructing the guid. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlb/Guid/2constructor-07.adoc[Guid]( unsigned long timeLow, unsigned short timeMid, unsigned short timeHiAndVersion, unsigned char clockSeqHiRes, unsigned char clockSeqLow, xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64] node); ---- [.small]#xref:BloombergLP/bdlb/Guid/2constructor-07.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#