C/C++ API Reference
Loading...
Searching...
No Matches
pw::uuid::Uuid Class Reference

Overview

Represents a 128-bit universally unique identifier (UUID).

Public Member Functions

constexpr pw::span< const uint8_t, kSizeBytesGetSpan () const
 Return the backing span holding the uuid.
 
constexpr bool operator== (const Uuid &other) const
 
constexpr bool operator!= (const Uuid &other) const
 
constexpr InlineString< kStringSizeToString () const
 Convert the Uuid to a human readable string.
 

Static Public Member Functions

static constexpr Result< UuidFromSpan (span< const uint8_t > span)
 
static Result< UuidFromSpan (ConstByteSpan span)
 
static constexpr Result< UuidFromString (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.
 

The documentation for this class was generated from the following file: