Types
MessagePack data types. More...
Data Structures | |
struct | msgpack_object_t |
Generic MessagPack object. More... | |
struct | msgpack_object_str_t |
MessagePack string. More... | |
struct | msgpack_object_bin_t |
MessagePac binary string. More... | |
struct | msgpack_object_dict_t |
MessagePack Dictionary (aka map) object. More... | |
struct | msgpack_object_array_t |
MessagePack Array object. More... | |
struct | msgpack_context_t |
MessagePack data writing context. More... | |
Typedefs | |
typedef zos_result_t(* | msgpack_writer_t) (void *user, const void *data, uint32_t length) |
MessagePacket data writer. More... | |
Enumerations | |
enum | msgpack_type_t { MSGPACK_TYPE_NIL, MSGPACK_TYPE_BOOL, MSGPACK_TYPE_INT8, MSGPACK_TYPE_UINT8, MSGPACK_TYPE_INT16, MSGPACK_TYPE_UINT16, MSGPACK_TYPE_INT32, MSGPACK_TYPE_UINT32, MSGPACK_TYPE_FLOAT, MSGPACK_TYPE_INT64, MSGPACK_TYPE_UINT64, MSGPACK_TYPE_DOUBLE, MSGPACK_TYPE_STR, MSGPACK_TYPE_BIN, MSGPACK_TYPE_DICT, MSGPACK_TYPE_ARRAY } |
MessagePack object data type. More... | |
Detailed Description
MessagePack data types.
Typedef Documentation
typedef zos_result_t(* msgpack_writer_t) (void *user, const void *data, uint32_t length) |
MessagePacket data writer.
When using the msgpack_write_xxx APIs this callback will be invoked to write the 'packed' message data IF the msgpack_context_t is initialized with a writer
- Parameters
-
user
Optional user object specified when initializing the msgpack_context_t context data
'packed' message data to write length
Length of data to write
- Returns
- Result of writing, see zos_result_t
Enumeration Type Documentation
enum msgpack_type_t |
MessagePack object data type.