Raw struct support for uint32_t values.
More...
#include <wpi/struct/Struct.h>
|
static constexpr std::string_view | GetTypeName () |
|
static constexpr size_t | GetSize () |
|
static constexpr std::string_view | GetSchema () |
|
static uint32_t | Unpack (std::span< const uint8_t > data) |
|
static void | Pack (std::span< uint8_t > data, uint32_t value) |
|
Raw struct support for uint32_t values.
Primarily useful for higher level struct implementations.
◆ GetSchema()
static constexpr std::string_view wpi::Struct< uint32_t >::GetSchema |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ GetSize()
static constexpr size_t wpi::Struct< uint32_t >::GetSize |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ GetTypeName()
static constexpr std::string_view wpi::Struct< uint32_t >::GetTypeName |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ Pack()
static void wpi::Struct< uint32_t >::Pack |
( |
std::span< uint8_t > | data, |
|
|
uint32_t | value ) |
|
inlinestatic |
◆ Unpack()
static uint32_t wpi::Struct< uint32_t >::Unpack |
( |
std::span< const uint8_t > | data | ) |
|
|
inlinestatic |
The documentation for this struct was generated from the following file: