10 #ifndef MSGPACK_V3_UNPACK_DECL_HPP
11 #define MSGPACK_V3_UNPACK_DECL_HPP
23 using v2::unpack_error;
24 using v2::parse_error;
25 using v2::insufficient_bytes;
26 using v2::size_overflow;
27 using v2::array_size_overflow;
28 using v2::map_size_overflow;
29 using v2::str_size_overflow;
30 using v2::bin_size_overflow;
31 using v2::ext_size_overflow;
32 using v2::depth_size_overflow;
33 using v2::unpack_limit;
37 using v2::detail::unpack_user;
57 using v2::detail::unpack_array;
59 using v2::detail::unpack_map;
65 using v2::detail::unpack_stack;
73 using v2::detail::fix_tag;
75 using v2::detail::value;
84 using v2::basic_unpacker;
106 const char* data, std::size_t len, std::size_t& off,
bool& referenced,
122 const char* data, std::size_t len, std::size_t& off,
138 const char* data, std::size_t len,
bool& referenced,
153 const char* data, std::size_t len,
172 const char* data, std::size_t len, std::size_t& off,
bool& referenced,
189 const char* data, std::size_t len, std::size_t& off,
206 const char* data, std::size_t len,
bool& referenced,
222 const char* data, std::size_t len,
241 const char* data, std::size_t len, std::size_t& off,
bool& referenced,
259 const char* data, std::size_t len, std::size_t& off,
277 const char* data, std::size_t len,
bool& referenced,
294 const char* data, std::size_t len,
The class holds object and zone.
Definition: object.hpp:44
Definition: unpack_decl.hpp:87
Definition: cpp03_zone.hpp:31
void unpack_int32(int32_t d, msgpack::object &o)
Definition: unpack.hpp:90
void unpack_ext(unpack_user &u, const char *p, std::size_t l, msgpack::object &o)
Definition: unpack.hpp:205
void unpack_float(float d, msgpack::object &o)
Definition: unpack.hpp:98
void unpack_false(msgpack::object &o)
Definition: unpack.hpp:110
void unpack_int16(int16_t d, msgpack::object &o)
Definition: unpack.hpp:86
void unpack_str(unpack_user &u, const char *p, uint32_t l, msgpack::object &o)
Definition: unpack.hpp:167
void unpack_nil(msgpack::object &o)
Definition: unpack.hpp:104
void init_count(void *buffer)
Definition: unpack.hpp:241
parse_return unpack_imp(const char *data, std::size_t len, std::size_t &off, msgpack::zone &result_zone, msgpack::object &result, bool &referenced, unpack_reference_func f=MSGPACK_NULLPTR, void *user_data=MSGPACK_NULLPTR, unpack_limit const &limit=unpack_limit())
Definition: unpack.hpp:1353
void unpack_uint64(uint64_t d, msgpack::object &o)
Definition: unpack.hpp:79
std::atomic< unsigned int > const & get_count(void *buffer)
Definition: unpack.hpp:278
void unpack_array_item(msgpack::object &c, msgpack::object const &o)
Definition: unpack.hpp:129
void decr_count(void *buffer)
Definition: unpack.hpp:250
void unpack_int64(int64_t d, msgpack::object &o)
Definition: unpack.hpp:94
void unpack_uint8(uint8_t d, msgpack::object &o)
Definition: unpack.hpp:70
void unpack_bin(unpack_user &u, const char *p, uint32_t l, msgpack::object &o)
Definition: unpack.hpp:186
void unpack_int8(int8_t d, msgpack::object &o)
Definition: unpack.hpp:82
void incr_count(void *buffer)
Definition: unpack.hpp:263
void unpack_true(msgpack::object &o)
Definition: unpack.hpp:107
void unpack_map_item(msgpack::object &c, msgpack::object const &k, msgpack::object const &v)
Definition: unpack.hpp:155
void unpack_uint16(uint16_t d, msgpack::object &o)
Definition: unpack.hpp:73
void unpack_double(double d, msgpack::object &o)
Definition: unpack.hpp:101
void unpack_uint32(uint32_t d, msgpack::object &o)
Definition: unpack.hpp:76
msgpack::enable_if< sizeof(T)==sizeof(fix_tag)>::type load(uint32_t &dst, const char *n)
Definition: unpack.hpp:294
Definition: adaptor_base.hpp:15
object_handle unpacked
Definition: unpack_decl.hpp:207
bool(* unpack_reference_func)(msgpack::type::object_type type, std::size_t size, void *user_data)
The type of reference or copy judging function.
Definition: unpack_decl.hpp:74
msgpack::object_handle unpack(const char *data, std::size_t len, std::size_t &off, bool &referenced, unpack_reference_func f, void *user_data, unpack_limit const &limit)
Unpack msgpack::object from a buffer.
Definition: unpack.hpp:1397
Object class that corresponding to MessagePack format object.
Definition: object_fwd.hpp:75
#define MSGPACK_NULLPTR
Definition: cpp_config_decl.hpp:85
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:66