WPILibC++ 2024.3.2
wpi::Struct< int8_t > Struct Reference

Raw struct support for int8_t values. More...

#include <wpi/struct/Struct.h>

Static Public Member Functions

static constexpr std::string_view GetTypeString ()
 
static constexpr size_t GetSize ()
 
static constexpr std::string_view GetSchema ()
 
static int8_t Unpack (std::span< const uint8_t, 1 > data)
 
static void Pack (std::span< uint8_t, 1 > data, int8_t value)
 

Detailed Description

Raw struct support for int8_t values.

Primarily useful for higher level struct implementations.

Member Function Documentation

◆ GetSchema()

static constexpr std::string_view wpi::Struct< int8_t >::GetSchema ( )
inlinestaticconstexpr

◆ GetSize()

static constexpr size_t wpi::Struct< int8_t >::GetSize ( )
inlinestaticconstexpr

◆ GetTypeString()

static constexpr std::string_view wpi::Struct< int8_t >::GetTypeString ( )
inlinestaticconstexpr

◆ Pack()

static void wpi::Struct< int8_t >::Pack ( std::span< uint8_t, 1 >  data,
int8_t  value 
)
inlinestatic

◆ Unpack()

static int8_t wpi::Struct< int8_t >::Unpack ( std::span< const uint8_t, 1 >  data)
inlinestatic

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