Module helpers

Source
Expand description

Helpers for packing/unpacking certain msgpack values.

This module is used by the derive macros for MsgPack and MsgUnpack. Unless you are implementing those traits by hand, you probably shouldn’t be here.

Functions§

pack_array_header
Helper function that packs a msgpack array header.
pack_enum_header
Pack an enum header.
pack_enum_header_to_writer
Pack an enum header into a Write.
pack_i64
pack_map_header
Helper function that packs a msgpack map header.
pack_u64
unpack_array_header
Helper function that tries to decode a msgpack array header from a byte slice.
unpack_enum_header
Unpack an enum header.
unpack_i64
unpack_map_header
Helper function that tries to decode a msgpack map header from a byte slice.
unpack_u64