// // MessagePack for C++ deserializing routine // // Copyright (C) 2018 KONDO Takatoshi // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #ifndef MSGPACK_V2_PARSE_DECL_HPP #define MSGPACK_V2_PARSE_DECL_HPP
template <typename VisitorHolder, typename ReferencedBufferHook> class parser;
/// Unpack msgpack formatted data via a visitor /** * @param data The pointer to the buffer. * @param len The length of the buffer. * @param off The offset position of the buffer. It is read and overwritten. * @param v The visitor that satisfies visitor concept. https://github.com/msgpack/msgpack-c/wiki/v2_0_cpp_visitor#visitor-concept * * @return if unpacking process finishes without error then return true, otherwise return false. *
*/ template <typename Visitor> bool parse(constchar* data, size_t len, size_t& off, Visitor& v);
/// Unpack msgpack formatted data via a visitor /** * @param data The pointer to the buffer. * @param len The length of the buffer. * @param v The visitor that satisfies visitor concept. https://github.com/msgpack/msgpack-c/wiki/v2_0_cpp_visitor#visitor-concept * * @return if unpacking process finishes without error then return true, otherwise return false. *
*/ template <typename Visitor> bool parse(constchar* data, size_t len, Visitor& v);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.