WPILibC++ 2024.3.2
MessagePack.h File Reference
#include <stdint.h>
#include <span>
#include <string>
#include <string_view>
#include "wpi/mpack.h"

Go to the source code of this file.

Namespaces

namespace  mpack
 

Functions

void mpack::mpack_write_str (mpack_writer_t *writer, std::string_view str)
 
void mpack::mpack_write_bytes (mpack_writer_t *writer, std::span< const uint8_t > data)
 
void mpack::mpack_reader_init_data (mpack_reader_t *reader, std::span< const uint8_t > data)
 
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)