pabigot
0.1.1
C++ support classes
|
16-bit UUID type stored as a little-endian byte sequence. More...
#include </mnt/devel/pabigot-cxx/include/pabigot/ble.hpp>
Public Types | |
using | integer_type = uint16_t |
Native integer type for 16-bit UUID. | |
Public Types inherited from pabigot::ble::details::uuid_type< 2 > | |
using | super_type = std::array< uint8_t, nb > |
Public Member Functions | |
constexpr | uuid16_type (integer_type src) |
Construct an instance from a native integral UUID. | |
integer_type | as_integer () const noexcept |
Convert the UUID to its host integral representation. | |
std::string | as_string () const noexcept |
Convert the UUID to its standard text representation. More... | |
Public Member Functions inherited from pabigot::ble::details::uuid_type< 2 > | |
constexpr | uuid_type (const super_type &arr) |
constexpr | uuid_type (super_type &arr) |
constexpr | uuid_type (const uint8_t(&arr)[byte_length]) |
constexpr | uuid_type (uint8_t(&arr)[byte_length]) |
Additional Inherited Members | |
Static Public Attributes inherited from pabigot::ble::details::uuid_type< 2 > | |
static constexpr std::size_t | byte_length |
The length of the UUID in bytes. | |
static constexpr std::size_t | bit_length |
The length of the UUID in bits. | |
16-bit UUID type stored as a little-endian byte sequence.
|
noexcept |
Convert the UUID to its standard text representation.