WPILibC++ 2023.4.3
mpack Namespace Reference

Functions

void mpack_write_str (mpack_writer_t *writer, std::string_view str)
 
void mpack_write_bytes (mpack_writer_t *writer, std::span< const uint8_t > data)
 
void mpack_reader_init_data (mpack_reader_t *reader, std::span< const uint8_t > data)
 
mpack_error_t mpack_expect_str (mpack_reader_t *reader, std::string *out, uint32_t maxLen=1024)
 
mpack_error_t mpack_read_str (mpack_reader_t *reader, mpack_tag_t *tag, std::string *out, uint32_t maxLen=1024)
 

Function Documentation

◆ mpack_expect_str()

mpack_error_t mpack::mpack_expect_str ( mpack_reader_t reader,
std::string *  out,
uint32_t  maxLen = 1024 
)

◆ mpack_read_str()

mpack_error_t mpack::mpack_read_str ( mpack_reader_t reader,
mpack_tag_t tag,
std::string *  out,
uint32_t  maxLen = 1024 
)

◆ mpack_reader_init_data()

void mpack::mpack_reader_init_data ( mpack_reader_t reader,
std::span< const uint8_t >  data 
)
inline

◆ mpack_write_bytes()

void mpack::mpack_write_bytes ( mpack_writer_t writer,
std::span< const uint8_t >  data 
)
inline

◆ mpack_write_str()

void mpack::mpack_write_str ( mpack_writer_t writer,
std::string_view  str 
)
inline