22 std::span<const uint8_t>
data) {
28 std::span<const uint8_t>
data) {
37 std::string* out,
uint32_t maxLen = 1024);
basic_string_view< char > string_view
Definition: core.h:520
struct mpack_tag_t mpack_tag_t
An MPack tag is a MessagePack object header.
Definition: mpack.h:2087
mpack_error_t
Error states for MPack objects.
Definition: mpack.h:2008
struct mpack_reader_t mpack_reader_t
A buffered MessagePack decoder.
Definition: mpack.h:4410
struct mpack_writer_t mpack_writer_t
A buffered MessagePack encoder.
Definition: mpack.h:3090
Abstracts all platform-specific code from MPack and handles configuration options.
::uint32_t uint32_t
Definition: Meta.h:56
Definition: MessagePack.h:15
void mpack_write_str(mpack_writer_t *writer, std::string_view str)
Definition: MessagePack.h:17
void mpack_reader_init_data(mpack_reader_t *reader, std::span< const uint8_t > data)
Definition: MessagePack.h:27
void mpack_write_bytes(mpack_writer_t *writer, std::span< const uint8_t > data)
Definition: MessagePack.h:21
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)
Definition: format.h:1552