|
MessagePack for C++
|
Namespaces | |
| namespace | adaptor |
| namespace | detail |
| namespace | type |
Typedefs | |
| template<template< class > class T, class... U> | |
| using | all_of = detail::all_of_imp< T< U >::value... > |
| template<template< class > class T, class... U> | |
| using | any_of = detail::any_of_imp<(T< U >::value)... > |
| typedef bool(* | unpack_reference_func) (msgpack::type::object_type type, std::size_t size, void *user_data) |
| The type of reference or copy judging function. | |
| typedef object_handle | unpacked |
Enumerations | |
| enum | parse_return { PARSE_SUCCESS = 2 , PARSE_EXTRA_BYTES = 1 , PARSE_CONTINUE = 0 , PARSE_PARSE_ERROR = -1 , PARSE_SUCCESS = 2 , PARSE_EXTRA_BYTES = 1 , PARSE_CONTINUE = 0 , PARSE_PARSE_ERROR = -1 , PARSE_STOP_VISITOR = -2 } |
| enum | parse_return { PARSE_SUCCESS = 2 , PARSE_EXTRA_BYTES = 1 , PARSE_CONTINUE = 0 , PARSE_PARSE_ERROR = -1 , PARSE_SUCCESS = 2 , PARSE_EXTRA_BYTES = 1 , PARSE_CONTINUE = 0 , PARSE_PARSE_ERROR = -1 , PARSE_STOP_VISITOR = -2 } |
| using msgpack::all_of = typedef detail::all_of_imp<T<U>::value...> |
| using msgpack::any_of = typedef detail::any_of_imp<(T<U>::value)...> |
| typedef bool(* msgpack::unpack_reference_func) (msgpack::type::object_type type, std::size_t size, void *user_data) |
The type of reference or copy judging function.
| type | msgpack data type. |
| size | msgpack data size. |
| user_data | The user_data that is set by msgpack::unpack functions. |
This function is called when unpacking STR, BIN, or EXT.
|
inline |
References aligned_size(), and convert().
Referenced by aligned_size(), msgpack::aligned_zone_size_visitor::start_array(), msgpack::aligned_zone_size_visitor::start_map(), msgpack::aligned_zone_size_visitor::visit_bin(), msgpack::aligned_zone_size_visitor::visit_ext(), and msgpack::aligned_zone_size_visitor::visit_str().
|
inline |
References aligned_zone_size(), convert(), and msgpack::object_parser::parse().
Referenced by aligned_zone_size(), and clone().
|
inline |
References begin(), and msgpack::object_array::ptr.
|
inline |
References begin(), and msgpack::object_map::ptr.
|
inline |
References begin(), and msgpack::object_array::ptr.
|
inline |
References checked_get_container_size(), and convert().
Referenced by checked_get_container_size(), msgpack::adaptor::object< const char * >::operator()(), msgpack::adaptor::object< char[N]>::operator()(), msgpack::adaptor::object< const char[N]>::operator()(), msgpack::adaptor::object< std::array< char, N > >::operator()(), msgpack::adaptor::object< std::array< unsigned char, N > >::operator()(), msgpack::adaptor::object< std::string >::operator()(), msgpack::adaptor::object< std::vector< char, Alloc > >::operator()(), msgpack::adaptor::object< std::vector< unsigned char, Alloc > >::operator()(), msgpack::adaptor::as< T, typename msgpack::enable_if< detail::is_seq_no_pair_no_tuple< T >::value &&boost::mpl::fold< T, boost::mpl::bool_< true >, boost::mpl::if_< boost::mpl::or_< boost::mpl::_1, msgpack::has_as< boost::mpl::_2 > >, boost::mpl::bool_< true >, boost::mpl::bool_< false > > >::type::value >::type >::operator()(), msgpack::adaptor::convert< T, typename msgpack::enable_if< detail::is_seq_no_pair_no_tuple< T >::value >::type >::operator()(), msgpack::adaptor::object_with_zone< const char * >::operator()(), msgpack::adaptor::object_with_zone< char[N]>::operator()(), msgpack::adaptor::object_with_zone< const char[N]>::operator()(), msgpack::adaptor::object_with_zone< msgpack::type::array_ref< T > >::operator()(), msgpack::adaptor::object_with_zone< msgpack::type::array_ref< T[N]> >::operator()(), msgpack::adaptor::object_with_zone< std::array< char, N > >::operator()(), msgpack::adaptor::object_with_zone< std::array< T, N > >::operator()(), msgpack::adaptor::object_with_zone< std::array< unsigned char, N > >::operator()(), msgpack::adaptor::object_with_zone< std::deque< T, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::forward_list< T, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::list< T, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::map< K, V, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::multimap< K, V, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::multiset< T, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::set< T, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::string >::operator()(), msgpack::adaptor::object_with_zone< std::unordered_map< K, V, Hash, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::unordered_multimap< K, V, Hash, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::unordered_multiset< Key, Hash, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::unordered_set< Key, Hash, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::vector< bool, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::vector< char, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::vector< T, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::vector< unsigned char, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::wstring >::operator()(), msgpack::adaptor::object_with_zone< T, typename msgpack::enable_if< detail::is_seq_no_pair_no_tuple< T >::value >::type >::operator()(), msgpack::adaptor::object_with_zone< T[N]>::operator()(), msgpack::adaptor::object_with_zone< type::assoc_vector< K, V, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< unsigned char[N]>::operator()(), msgpack::adaptor::object_with_zone< const unsigned char[N]>::operator()(), msgpack::adaptor::object_with_zone< std::tuple< Args... > >::operator()(), msgpack::adaptor::pack< const char * >::operator()(), msgpack::adaptor::pack< char[N]>::operator()(), msgpack::adaptor::pack< const char[N]>::operator()(), msgpack::adaptor::pack< msgpack::type::array_ref< T > >::operator()(), msgpack::adaptor::pack< msgpack::type::array_ref< T[N]> >::operator()(), msgpack::adaptor::pack< std::array< char, N > >::operator()(), msgpack::adaptor::pack< std::array< T, N > >::operator()(), msgpack::adaptor::pack< std::array< unsigned char, N > >::operator()(), msgpack::adaptor::pack< std::deque< T, Alloc > >::operator()(), msgpack::adaptor::pack< std::forward_list< T, Alloc > >::operator()(), msgpack::adaptor::pack< std::list< T, Alloc > >::operator()(), msgpack::adaptor::pack< std::map< K, V, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< std::multimap< K, V, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< std::multiset< T, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< std::set< T, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< std::string >::operator()(), msgpack::adaptor::pack< std::tuple< Args... > >::operator()(), msgpack::adaptor::pack< std::unordered_map< K, V, Hash, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< std::unordered_multimap< K, V, Hash, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< std::unordered_multiset< Key, Hash, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< std::unordered_set< Key, Hash, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< std::vector< bool, Alloc > >::operator()(), msgpack::adaptor::pack< std::vector< char, Alloc > >::operator()(), msgpack::adaptor::pack< std::vector< T, Alloc > >::operator()(), msgpack::adaptor::pack< std::vector< unsigned char, Alloc > >::operator()(), msgpack::adaptor::pack< std::wstring >::operator()(), msgpack::adaptor::pack< T, typename msgpack::enable_if< detail::is_seq_no_pair_no_tuple< T >::value >::type >::operator()(), msgpack::adaptor::pack< T[N]>::operator()(), msgpack::adaptor::pack< type::assoc_vector< K, V, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< unsigned char[N]>::operator()(), and msgpack::adaptor::pack< const unsigned char[N]>::operator()().
|
inline |
clone object
Clone (deep copy) object. The copied object is located on newly allocated zone.
| obj | copy source object |
References aligned_zone_size(), clone(), convert(), and MSGPACK_NULLPTR.
Referenced by clone().
|
inline |
References msgpack::object::convert(), and convert().
Referenced by aligned_size(), aligned_zone_size(), msgpack::zone::allocate(), msgpack::zone::allocate_align(), msgpack::vrefbuffer::append_copy(), msgpack::vrefbuffer::append_ref(), msgpack::StdTupleAsImpl< T, Args >::as(), msgpack::StdTupleAs< Args >::as(), msgpack::MsgpackTupleAsImpl< T, Args >::as(), msgpack::MsgpackTupleAs< Args >::as(), msgpack::type::basic_variant< STR, BIN, EXT >::basic_variant(), msgpack::type::basic_variant< STR, BIN, EXT >::basic_variant(), msgpack::type::basic_variant< STR, BIN, EXT >::basic_variant(), msgpack::type::basic_variant< STR, BIN, EXT >::basic_variant(), msgpack::type::basic_variant< STR, BIN, EXT >::basic_variant(), checked_get_container_size(), msgpack::vrefbuffer::clear(), clone(), msgpack::type::detail::convert_integer_sign< T, true >::convert(), msgpack::type::detail::convert_integer_sign< T, false >::convert(), convert(), msgpack::object::convert(), msgpack::type::convert_helper(), msgpack::object::convert_if_not_nil(), msgpack::type::detail::convert_integer(), msgpack::detail::create_object_visitor::create_object_visitor(), msgpack::unpacker::execute(), msgpack::detail::context< VisitorHolder >::execute(), msgpack::type::ext::ext(), msgpack::type::ext::ext(), msgpack::type::ext_ref::ext_ref(), msgpack::zbuffer::flush(), msgpack::type::forward_as_tuple(), msgpack::type::tuple< Types >::get(), msgpack::detail::load(), msgpack::detail::load(), msgpack::type::detail::object_sign< true >::make(), msgpack::type::detail::object_sign< false >::make(), msgpack::type::make_array_ref(), msgpack::type::make_array_ref(), msgpack::type::make_array_ref(), msgpack::type::make_array_ref(), msgpack::type::make_define_array(), msgpack::type::make_define_map(), msgpack::type::make_size_equal_only(), msgpack::type::make_tuple(), msgpack::vrefbuffer::migrate(), msgpack::type::define_array<>::msgpack_object(), msgpack::type::define_map<>::msgpack_object(), msgpack::type::define_array< Args >::msgpack_object(), msgpack::type::define_map< Args >::msgpack_object(), msgpack::define< Type >::msgpack_pack(), msgpack::type::define_array<>::msgpack_pack(), msgpack::type::define_map<>::msgpack_pack(), msgpack::type::define_array< Args >::msgpack_pack(), msgpack::type::define_map< Args >::msgpack_pack(), msgpack::type::define_array<>::msgpack_unpack(), msgpack::type::define_array< Args >::msgpack_unpack(), msgpack::type::define_map<>::msgpack_unpack(), msgpack::type::define_map< Args >::msgpack_unpack(), msgpack::unpacker::next(), msgpack::unpacker::next(), msgpack::unpacker::next(), msgpack::type::define_array_imp< Tuple, N >::object(), msgpack::type::define_array_imp< Tuple, 1 >::object(), msgpack::type::define_map_imp< Tuple, N >::object(), msgpack::type::detail::object_char(), msgpack::zone::operator delete(), msgpack::zone::operator delete(), msgpack::zone::operator delete(), msgpack::zone::operator new(), msgpack::zone::operator new(), msgpack::zone::operator new(), msgpack::object::implicit_type::operator T(), msgpack::type::array_ref< T >::operator!=(), msgpack::type::array_ref< T[N]>::operator!=(), msgpack::type::ext::operator!=(), msgpack::type::ext_ref::operator!=(), msgpack::type::raw_ref::operator!=(), msgpack::type::v4raw_ref::operator!=(), msgpack::detail::unpack_array::operator()(), msgpack::detail::unpack_map::operator()(), msgpack::type::array_ref< T >::operator<(), msgpack::type::array_ref< T[N]>::operator<(), msgpack::type::operator<(), msgpack::type::ext::operator<(), msgpack::type::ext_ref::operator<(), msgpack::type::raw_ref::operator<(), msgpack::type::v4raw_ref::operator<(), msgpack::type::operator<(), msgpack::type::operator<(), operator<<(), operator<<(), operator<<(), operator<<(), operator<<(), msgpack::type::array_ref< T >::operator<=(), msgpack::type::array_ref< T[N]>::operator<=(), msgpack::detail::create_object_visitor::operator=(), msgpack::sbuffer::operator=(), msgpack::type::tuple< Types >::operator=(), msgpack::type::tuple< Types >::operator=(), msgpack::unpacker::operator=(), msgpack::type::array_ref< T >::operator==(), msgpack::type::array_ref< T[N]>::operator==(), msgpack::type::operator==(), msgpack::type::ext::operator==(), msgpack::type::ext_ref::operator==(), msgpack::type::raw_ref::operator==(), msgpack::type::v4raw_ref::operator==(), msgpack::type::operator==(), msgpack::type::operator==(), msgpack::type::array_ref< T >::operator>(), msgpack::type::array_ref< T[N]>::operator>(), msgpack::type::ext::operator>(), msgpack::type::ext_ref::operator>(), msgpack::type::raw_ref::operator>(), msgpack::type::v4raw_ref::operator>(), msgpack::type::array_ref< T >::operator>=(), msgpack::type::array_ref< T[N]>::operator>=(), operator>>(), operator>>(), msgpack::StdTuplePacker< Stream, Tuple, N >::pack(), msgpack::MsgpackTuplePacker< Stream, Tuple, N >::pack(), msgpack::MsgpackTuplePacker< Stream, Tuple, 1 >::pack(), msgpack::type::define_array_imp< Tuple, N >::pack(), msgpack::type::define_array_imp< Tuple, 1 >::pack(), msgpack::type::define_map_imp< Tuple, N >::pack(), pack(), pack(), msgpack::packer< Stream >::pack_array(), msgpack::packer< Stream >::pack_bin(), msgpack::packer< Stream >::pack_bin_body(), msgpack::packer< Stream >::pack_char(), msgpack::packer< Stream >::pack_double(), msgpack::packer< Stream >::pack_ext(), msgpack::packer< Stream >::pack_ext_body(), msgpack::packer< Stream >::pack_false(), msgpack::packer< Stream >::pack_fix_int16(), msgpack::packer< Stream >::pack_fix_int32(), msgpack::packer< Stream >::pack_fix_int64(), msgpack::packer< Stream >::pack_fix_int8(), msgpack::packer< Stream >::pack_fix_uint16(), msgpack::packer< Stream >::pack_fix_uint32(), msgpack::packer< Stream >::pack_fix_uint64(), msgpack::packer< Stream >::pack_fix_uint8(), msgpack::packer< Stream >::pack_float(), msgpack::packer< Stream >::pack_int(), msgpack::packer< Stream >::pack_int16(), msgpack::packer< Stream >::pack_int32(), msgpack::packer< Stream >::pack_int64(), msgpack::packer< Stream >::pack_int8(), msgpack::packer< Stream >::pack_long(), msgpack::packer< Stream >::pack_long_long(), msgpack::packer< Stream >::pack_map(), msgpack::packer< Stream >::pack_nil(), msgpack::packer< Stream >::pack_short(), msgpack::packer< Stream >::pack_signed_char(), msgpack::packer< Stream >::pack_str(), msgpack::packer< Stream >::pack_str_body(), msgpack::packer< Stream >::pack_true(), msgpack::packer< Stream >::pack_uint16(), msgpack::packer< Stream >::pack_uint32(), msgpack::packer< Stream >::pack_uint64(), msgpack::packer< Stream >::pack_uint8(), msgpack::packer< Stream >::pack_unsigned_char(), msgpack::packer< Stream >::pack_unsigned_int(), msgpack::packer< Stream >::pack_unsigned_long(), msgpack::packer< Stream >::pack_unsigned_long_long(), msgpack::packer< Stream >::pack_unsigned_short(), msgpack::packer< Stream >::pack_v4raw(), msgpack::packer< Stream >::pack_v4raw_body(), msgpack::packer< Stream >::pack_wchar(), msgpack::object_parser::parse(), msgpack::zone::push_finalizer(), msgpack::sbuffer::release(), msgpack::zbuffer::release_buffer(), msgpack::unpacker::release_zone(), msgpack::zbuffer::reset(), msgpack::zbuffer::reset_buffer(), msgpack::sbuffer::sbuffer(), msgpack::sbuffer::sbuffer(), msgpack::type::array_ref< T[N]>::size(), msgpack::type::ext::size(), msgpack::type::size(), msgpack::type::size(), msgpack::object_pack_visitor< Stream >::start_array(), msgpack::object_stringize_visitor::start_array(), msgpack::aligned_zone_size_visitor::start_array(), msgpack::detail::create_object_visitor::start_array(), msgpack::object_pack_visitor< Stream >::start_map(), msgpack::object_stringize_visitor::start_map(), msgpack::aligned_zone_size_visitor::start_map(), msgpack::detail::create_object_visitor::start_map(), msgpack::zone::swap(), msgpack::type::tie(), msgpack::type::tuple<>::tuple(), msgpack::type::tuple_cat(), msgpack::type::ext::type(), msgpack::type::ext_ref::type(), msgpack::object_ext::type(), unpack(), unpack(), unpack(), unpack(), msgpack::type::define_array_imp< Tuple, N >::unpack(), msgpack::type::define_array_imp< Tuple, 1 >::unpack(), msgpack::type::define_map_imp< Tuple, N >::unpack(), unpack(), unpack(), unpack(), unpack(), unpack(), unpack(), unpack(), unpack(), unpack(), unpack(), msgpack::detail::unpack_array_item(), msgpack::detail::unpack_bin(), msgpack::detail::unpack_double(), msgpack::detail::unpack_ext(), msgpack::detail::unpack_false(), msgpack::detail::unpack_float(), msgpack::detail::unpack_int16(), msgpack::detail::unpack_int32(), msgpack::detail::unpack_int64(), msgpack::detail::unpack_int8(), msgpack::detail::unpack_map_item(), msgpack::detail::unpack_nil(), msgpack::detail::unpack_str(), msgpack::detail::unpack_true(), msgpack::detail::unpack_uint16(), msgpack::detail::unpack_uint32(), msgpack::detail::unpack_uint64(), msgpack::detail::unpack_uint8(), msgpack::unpacker::unpacker(), msgpack::unpacker::unpacker(), msgpack::object_pack_visitor< Stream >::visit_bin(), msgpack::detail::create_object_visitor::visit_bin(), msgpack::object_pack_visitor< Stream >::visit_boolean(), msgpack::object_stringize_visitor::visit_boolean(), msgpack::detail::create_object_visitor::visit_boolean(), msgpack::object_pack_visitor< Stream >::visit_ext(), msgpack::object_stringize_visitor::visit_ext(), msgpack::detail::create_object_visitor::visit_ext(), msgpack::object_pack_visitor< Stream >::visit_float32(), msgpack::object_stringize_visitor::visit_float32(), msgpack::detail::create_object_visitor::visit_float32(), msgpack::object_pack_visitor< Stream >::visit_float64(), msgpack::object_stringize_visitor::visit_float64(), msgpack::detail::create_object_visitor::visit_float64(), msgpack::object_pack_visitor< Stream >::visit_negative_integer(), msgpack::object_stringize_visitor::visit_negative_integer(), msgpack::detail::create_object_visitor::visit_negative_integer(), msgpack::object_pack_visitor< Stream >::visit_positive_integer(), msgpack::object_stringize_visitor::visit_positive_integer(), msgpack::detail::create_object_visitor::visit_positive_integer(), msgpack::object_pack_visitor< Stream >::visit_str(), msgpack::object_stringize_visitor::visit_str(), msgpack::detail::create_object_visitor::visit_str(), msgpack::vrefbuffer::vrefbuffer(), msgpack::sbuffer::write(), msgpack::vrefbuffer::write(), msgpack::zbuffer::write(), msgpack::fbuffer::write(), msgpack::zbuffer::zbuffer(), msgpack::vrefbuffer::~vrefbuffer(), and msgpack::zbuffer::~zbuffer().
|
inline |
References end(), msgpack::object_array::ptr, and msgpack::object_array::size.
|
inline |
References end(), msgpack::object_map::ptr, and msgpack::object_map::size.
|
inline |
References end(), msgpack::object_array::ptr, and msgpack::object_array::size.
|
inline |
References end(), msgpack::object_map::ptr, and msgpack::object_map::size.
Referenced by end(), end(), end(), end(), and msgpack::adaptor::convert< std::vector< bool, Alloc > >::operator()().
|
inline |
|
inline |
|
inline |
| void msgpack::operator<< | ( | msgpack::object & | o, |
| const T(&) | v[N] | ||
| ) |
|
inline |
References convert().
|
inline |
References convert().
|
inline |
References convert().
|
inline |
References pack().
|
inline |
|
inline |
|
inline |
References convert().
Referenced by msgpack::object::object(), msgpack::object::object(), and msgpack::packer< Stream >::pack().
|
inline |
References convert().
|
inline |
References msgpack::object_parser::parse().
|
inline |
References msgpack::object_parser::parse(), and msgpack::object::type.
|
inline |
|
inline |
|
inline |
References convert().
Referenced by msgpack::object::convert(), msgpack::object::convert(), and msgpack::define< Type >::msgpack_unpack().
|
inline |
References convert().
|
inline |
References msgpack::packer< Stream >::pack(), and pack().
Referenced by operator<<(), pack(), pack(), and pack().
Pack the value as MessagePack format into the stream.
This function template is left for compatibility. Use void pack(Stream& s, const T& v) instead of the function template.
| Stream | Any type that have a member function Stream write(const char*, size_t s) |
| T | Any type that is adapted to MessagePack |
| s | The pointer to packing destination stream |
| v | Packing value |
|
inline |
Unpack msgpack formatted data via a visitor.
| data | The pointer to the buffer. |
| len | The length of the buffer. |
| off | The offset position of the buffer. It is read and overwritten. |
| v | The visitor that satisfies visitor concept. https://github.com/msgpack/msgpack-c/wiki/v2_0_cpp_visitor#visitor-concept |
References parse().
Unpack msgpack formatted data via a visitor.
| data | The pointer to the buffer. |
| len | The length of the buffer. |
| v | The visitor that satisfies visitor concept. https://github.com/msgpack/msgpack-c/wiki/v2_0_cpp_visitor#visitor-concept |
References parse().
|
inline |
Unpack msgpack::object from a buffer.
| data | The pointer to the buffer. |
| len | The length of the buffer. |
| referenced | If the unpacked object contains reference of the buffer, then set as true, otherwise false. |
| f | A judging function that msgpack::object refer to the buffer. |
| user_data | This parameter is passed to f. |
| limit | The size limit information of msgpack::object. |
|
inline |
Unpack msgpack::object from a buffer.
| data | The pointer to the buffer. |
| len | The length of the buffer. |
| off | The offset position of the buffer. It is read and overwritten. |
| referenced | If the unpacked object contains reference of the buffer, then set as true, otherwise false. |
| f | A judging function that msgpack::object refer to the buffer. |
| user_data | This parameter is passed to f. |
| limit | The size limit information of msgpack::object. |
References convert(), PARSE_CONTINUE, PARSE_EXTRA_BYTES, PARSE_PARSE_ERROR, and PARSE_SUCCESS.
Referenced by msgpack::type::define_array< Args >::msgpack_unpack(), msgpack::type::define_map< Args >::msgpack_unpack(), unpack(), unpack(), unpack(), unpack(), unpack(), unpack(), unpack(), unpack(), unpack(), and unpack().
|
inline |
Unpack msgpack::object from a buffer.
| data | The pointer to the buffer. |
| len | The length of the buffer. |
| off | The offset position of the buffer. It is read and overwritten. |
| f | A judging function that msgpack::object refer to the buffer. |
| user_data | This parameter is passed to f. |
| limit | The size limit information of msgpack::object. |
|
inline |
Unpack msgpack::object from a buffer.
| data | The pointer to the buffer. |
| len | The length of the buffer. |
| f | A judging function that msgpack::object refer to the buffer. |
| user_data | This parameter is passed to f. |
| limit | The size limit information of msgpack::object. |
|
inline |
References convert().
|
inline |
Unpack msgpack::object from a buffer.
| z | The msgpack::zone that is used as a memory of unpacked msgpack objects. |
| data | The pointer to the buffer. |
| len | The length of the buffer. |
| referenced | If the unpacked object contains reference of the buffer, then set as true, otherwise false. |
| f | A judging function that msgpack::object refer to the buffer. |
| user_data | This parameter is passed to f. |
| limit | The size limit information of msgpack::object. |
|
inline |
Unpack msgpack::object from a buffer.
| z | The msgpack::zone that is used as a memory of unpacked msgpack objects. |
| data | The pointer to the buffer. |
| len | The length of the buffer. |
| off | The offset position of the buffer. It is read and overwritten. |
| referenced | If the unpacked object contains reference of the buffer, then set as true, otherwise false. |
| f | A judging function that msgpack::object refer to the buffer. |
| user_data | This parameter is passed to f. |
| limit | The size limit information of msgpack::object. |
References convert(), PARSE_CONTINUE, PARSE_EXTRA_BYTES, PARSE_PARSE_ERROR, and PARSE_SUCCESS.
|
inline |
Unpack msgpack::object from a buffer.
| z | The msgpack::zone that is used as a memory of unpacked msgpack objects. |
| data | The pointer to the buffer. |
| len | The length of the buffer. |
| off | The offset position of the buffer. It is read and overwritten. |
| f | A judging function that msgpack::object refer to the buffer. |
| user_data | This parameter is passed to f. |
| limit | The size limit information of msgpack::object. |
|
inline |
Unpack msgpack::object from a buffer.
| z | The msgpack::zone that is used as a memory of unpacked msgpack objects. |
| data | The pointer to the buffer. |
| len | The length of the buffer. |
| f | A judging function that msgpack::object refer to the buffer. |
| user_data | This parameter is passed to f. |
| limit | The size limit information of msgpack::object. |
|
inline |
Unpack msgpack::object from a buffer.
| result | The object_handle that contains unpacked data. |
| data | The pointer to the buffer. |
| len | The length of the buffer. |
| referenced | If the unpacked object contains reference of the buffer, then set as true, otherwise false. |
| f | A judging function that msgpack::object refer to the buffer. |
| user_data | This parameter is passed to f. |
| limit | The size limit information of msgpack::object. |
|
inline |
Unpack msgpack::object from a buffer.
| result | The object_handle that contains unpacked data. |
| data | The pointer to the buffer. |
| len | The length of the buffer. |
| off | The offset position of the buffer. It is read and overwritten. |
| referenced | If the unpacked object contains reference of the buffer, then set as true, otherwise false. |
| f | A judging function that msgpack::object refer to the buffer. |
| user_data | This parameter is passed to f. |
| limit | The size limit information of msgpack::object. |
References convert(), PARSE_CONTINUE, PARSE_EXTRA_BYTES, PARSE_PARSE_ERROR, and PARSE_SUCCESS.
|
inline |
Unpack msgpack::object from a buffer.
| result | The object_handle that contains unpacked data. |
| data | The pointer to the buffer. |
| len | The length of the buffer. |
| off | The offset position of the buffer. It is read and overwritten. |
| f | A judging function that msgpack::object refer to the buffer. |
| user_data | This parameter is passed to f. |
| limit | The size limit information of msgpack::object. |
|
inline |
Unpack msgpack::object from a buffer.
| result | The object_handle that contains unpacked data. |
| data | The pointer to the buffer. |
| len | The length of the buffer. |
| f | A judging function that msgpack::object refer to the buffer. |
| user_data | This parameter is passed to f. |
| limit | The size limit information of msgpack::object. |
|
inline |
Unpack msgpack::object from a buffer. [obsolete].
| result | The object_handle that contains unpacked data. |
| data | The pointer to the buffer. |
| len | The length of the buffer. |
| off | The offset position of the buffer. It is read and overwritten. |
| referenced | If the unpacked object contains reference of the buffer, then set as true, otherwise false. |
| f | A judging function that msgpack::object refer to the buffer. |
| user_data | This parameter is passed to f. |
| limit | The size limit information of msgpack::object. |
This function is obsolete. Use the reference inteface version of unpack functions instead of the pointer interface version.