128-bit universally unique identifier (UUID). Main docs: https://pigweed.dev/pw_uuid
|
static constexpr size_t | pw::uuid::Uuid::kSizeBytes = 16 |
| Size of the UUID in bytes.
|
|
static constexpr size_t | pw::uuid::Uuid::kStringSize |
| Length of the UUID's string representation.
|
|
◆ FromSpan() [1/2]
Create a Uuid from a const std::byte span
- Parameters
-
◆ FromSpan() [2/2]
static constexpr Result< Uuid > pw::uuid::Uuid::FromSpan |
( |
span< const uint8_t > |
span | ) |
|
|
inlinestaticconstexpr |
Create a Uuid from a const uint8_t span
- Parameters
-
◆ FromString()
static constexpr Result< Uuid > pw::uuid::Uuid::FromString |
( |
std::string_view |
string | ) |
|
|
inlinestaticconstexpr |
Create a Uuid from a string
- Parameters
-
string | string containing uuid |
◆ kStringSize
constexpr size_t pw::uuid::Uuid::kStringSize |
|
staticconstexpr |
Initial value:=
std::string_view{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}.size()
Length of the UUID's string representation.