Represents a 128-bit universally unique identifier (UUID).
Public Member Functions | |
constexpr pw::span< const uint8_t, kSizeBytes > | GetSpan () const |
Return the backing span holding the uuid. | |
constexpr bool | operator== (const Uuid &other) const |
constexpr bool | operator!= (const Uuid &other) const |
constexpr InlineString< kStringSize > | ToString () const |
Convert the Uuid to a human readable string. | |
Static Public Member Functions | |
static constexpr Result< Uuid > | FromSpan (span< const uint8_t > span) |
static Result< Uuid > | FromSpan (ConstByteSpan span) |
static constexpr Result< Uuid > | FromString (std::string_view string) |
Static Public Attributes | |
static constexpr size_t | kSizeBytes = 16 |
Size of the UUID in bytes. | |
static constexpr size_t | kStringSize |
Length of the UUID's string representation. | |