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

Raw struct support for int32_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 int32_t Unpack (std::span< const uint8_t > data)
 
static void Pack (std::span< uint8_t > data, int32_t value)
 

Detailed Description

Raw struct support for int32_t values.

Primarily useful for higher level struct implementations.

Member Function Documentation

◆ GetSchema()

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

◆ GetSize()

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

◆ GetTypeString()

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

◆ Pack()

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

◆ Unpack()

static int32_t wpi::Struct< int32_t >::Unpack ( std::span< const uint8_t >  data)
inlinestatic

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