WPILibC++ 2023.4.3-108-ge5452e3
|
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) |
C++ write overloads | |
MPACK_INLINE void | mpack_write (mpack_writer_t *writer, int8_t value) |
MPACK_INLINE void | mpack_write (mpack_writer_t *writer, int16_t value) |
MPACK_INLINE void | mpack_write (mpack_writer_t *writer, int32_t value) |
MPACK_INLINE void | mpack_write (mpack_writer_t *writer, int64_t value) |
MPACK_INLINE void | mpack_write (mpack_writer_t *writer, uint8_t value) |
MPACK_INLINE void | mpack_write (mpack_writer_t *writer, uint16_t value) |
MPACK_INLINE void | mpack_write (mpack_writer_t *writer, uint32_t value) |
MPACK_INLINE void | mpack_write (mpack_writer_t *writer, uint64_t value) |
MPACK_INLINE void | mpack_write (mpack_writer_t *writer, bool value) |
MPACK_INLINE void | mpack_write (mpack_writer_t *writer, float value) |
MPACK_INLINE void | mpack_write (mpack_writer_t *writer, double value) |
MPACK_INLINE void | mpack_write (mpack_writer_t *writer, char *value) |
MPACK_INLINE void | mpack_write (mpack_writer_t *writer, const char *value) |
MPACK_INLINE void | mpack_write_kv (mpack_writer_t *writer, const char *key, int8_t value) |
MPACK_INLINE void | mpack_write_kv (mpack_writer_t *writer, const char *key, int16_t value) |
MPACK_INLINE void | mpack_write_kv (mpack_writer_t *writer, const char *key, int32_t value) |
MPACK_INLINE void | mpack_write_kv (mpack_writer_t *writer, const char *key, int64_t value) |
MPACK_INLINE void | mpack_write_kv (mpack_writer_t *writer, const char *key, uint8_t value) |
MPACK_INLINE void | mpack_write_kv (mpack_writer_t *writer, const char *key, uint16_t value) |
MPACK_INLINE void | mpack_write_kv (mpack_writer_t *writer, const char *key, uint32_t value) |
MPACK_INLINE void | mpack_write_kv (mpack_writer_t *writer, const char *key, uint64_t value) |
MPACK_INLINE void | mpack_write_kv (mpack_writer_t *writer, const char *key, bool value) |
MPACK_INLINE void | mpack_write_kv (mpack_writer_t *writer, const char *key, float value) |
MPACK_INLINE void | mpack_write_kv (mpack_writer_t *writer, const char *key, double value) |
MPACK_INLINE void | mpack_write_kv (mpack_writer_t *writer, const char *key, char *value) |
MPACK_INLINE void | mpack_write_kv (mpack_writer_t *writer, const char *key, const char *value) |
mpack_error_t mpack::mpack_expect_str | ( | mpack_reader_t * | reader, |
std::string * | out, | ||
uint32_t | maxLen = 1024 |
||
) |
mpack_error_t mpack::mpack_read_str | ( | mpack_reader_t * | reader, |
mpack_tag_t * | tag, | ||
std::string * | out, | ||
uint32_t | maxLen = 1024 |
||
) |
|
inline |
MPACK_INLINE void mpack::mpack_write | ( | mpack_writer_t * | writer, |
bool | value | ||
) |
MPACK_INLINE void mpack::mpack_write | ( | mpack_writer_t * | writer, |
char * | value | ||
) |
MPACK_INLINE void mpack::mpack_write | ( | mpack_writer_t * | writer, |
const char * | value | ||
) |
MPACK_INLINE void mpack::mpack_write | ( | mpack_writer_t * | writer, |
double | value | ||
) |
MPACK_INLINE void mpack::mpack_write | ( | mpack_writer_t * | writer, |
float | value | ||
) |
MPACK_INLINE void mpack::mpack_write | ( | mpack_writer_t * | writer, |
int16_t | value | ||
) |
MPACK_INLINE void mpack::mpack_write | ( | mpack_writer_t * | writer, |
int32_t | value | ||
) |
MPACK_INLINE void mpack::mpack_write | ( | mpack_writer_t * | writer, |
int64_t | value | ||
) |
MPACK_INLINE void mpack::mpack_write | ( | mpack_writer_t * | writer, |
int8_t | value | ||
) |
MPACK_INLINE void mpack::mpack_write | ( | mpack_writer_t * | writer, |
uint16_t | value | ||
) |
MPACK_INLINE void mpack::mpack_write | ( | mpack_writer_t * | writer, |
uint32_t | value | ||
) |
MPACK_INLINE void mpack::mpack_write | ( | mpack_writer_t * | writer, |
uint64_t | value | ||
) |
MPACK_INLINE void mpack::mpack_write | ( | mpack_writer_t * | writer, |
uint8_t | value | ||
) |
|
inline |
MPACK_INLINE void mpack::mpack_write_kv | ( | mpack_writer_t * | writer, |
const char * | key, | ||
bool | value | ||
) |
MPACK_INLINE void mpack::mpack_write_kv | ( | mpack_writer_t * | writer, |
const char * | key, | ||
char * | value | ||
) |
MPACK_INLINE void mpack::mpack_write_kv | ( | mpack_writer_t * | writer, |
const char * | key, | ||
const char * | value | ||
) |
MPACK_INLINE void mpack::mpack_write_kv | ( | mpack_writer_t * | writer, |
const char * | key, | ||
double | value | ||
) |
MPACK_INLINE void mpack::mpack_write_kv | ( | mpack_writer_t * | writer, |
const char * | key, | ||
float | value | ||
) |
MPACK_INLINE void mpack::mpack_write_kv | ( | mpack_writer_t * | writer, |
const char * | key, | ||
int16_t | value | ||
) |
MPACK_INLINE void mpack::mpack_write_kv | ( | mpack_writer_t * | writer, |
const char * | key, | ||
int32_t | value | ||
) |
MPACK_INLINE void mpack::mpack_write_kv | ( | mpack_writer_t * | writer, |
const char * | key, | ||
int64_t | value | ||
) |
MPACK_INLINE void mpack::mpack_write_kv | ( | mpack_writer_t * | writer, |
const char * | key, | ||
int8_t | value | ||
) |
MPACK_INLINE void mpack::mpack_write_kv | ( | mpack_writer_t * | writer, |
const char * | key, | ||
uint16_t | value | ||
) |
MPACK_INLINE void mpack::mpack_write_kv | ( | mpack_writer_t * | writer, |
const char * | key, | ||
uint32_t | value | ||
) |
MPACK_INLINE void mpack::mpack_write_kv | ( | mpack_writer_t * | writer, |
const char * | key, | ||
uint64_t | value | ||
) |
MPACK_INLINE void mpack::mpack_write_kv | ( | mpack_writer_t * | writer, |
const char * | key, | ||
uint8_t | value | ||
) |
|
inline |