Property | Type | Description | |
---|---|---|---|
$guid | The string representation of the GUID. | ||
$guidSections | The guid structure in order by section to parse using substr(). | ||
$octetSections | The hexadecimal octet order based on string position. |
Method | Description | |
---|---|---|
__construct ( string $guid ) | ||
__toString ( ) : string | ||
toBinary ( ) : string | Get the binary representation of the GUID string. | |
toString ( ) : string | Get the friend string form of the GUID. |
Method | Description | |
---|---|---|
decodeFromBinary ( string $guid ) | ||
parseSection ( $hex, array $sections, boolean $octet = false ) : string | Return the specified section of the hexadecimal string. |
protected parseSection ( $hex, array $sections, boolean $octet = false ) : string | ||
$hex | string The full hex string. | |
$sections | array | An array of start and length (unless octet is true, then length is always 2). |
$octet | boolean | Whether this is for octet string form. |
return | string | The concatenated sections in upper-case. |
protected $guidSections |