10 #ifndef MSGPACK_TYPE_STRING_HPP 11 #define MSGPACK_TYPE_STRING_HPP 47 template <
typename Stream>
74 std::memcpy(ptr, v.data(), v.size());
86 #endif // MSGPACK_TYPE_STRING_HPP Definition: object_fwd.hpp:37
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:58
void * allocate_align(size_t size, size_t align=MSGPACK_ZONE_ALIGN)
Definition: cpp03_zone.hpp:248
const char * ptr
Definition: object_fwd.hpp:66
uint32_t checked_get_container_size(T size)
Definition: check_container_size.hpp:55
union_type via
Definition: object_fwd.hpp:123
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, const std::string &v) const
Definition: string.hpp:48
Definition: object_fwd.hpp:38
msgpack::zone & zone
Definition: object_fwd.hpp:262
uint32_t size
Definition: object_fwd.hpp:65
Definition: adaptor_base.hpp:15
const char * ptr
Definition: object_fwd.hpp:61
Definition: object_fwd.hpp:260
packer< Stream > & pack_str_body(const char *b, uint32_t l)
Packing str body.
Definition: pack.hpp:1223
msgpack::object const & operator()(msgpack::object const &o, std::string &v) const
Definition: string.hpp:29
Definition: adaptor_base.hpp:45
Definition: object_fwd.hpp:253
Definition: adaptor_base.hpp:34
msgpack::object_str str
Definition: object_fwd.hpp:117
Object class that corresponding to MessagePack format object.
Definition: object_fwd.hpp:106
void operator()(msgpack::object::with_zone &o, const std::string &v) const
Definition: string.hpp:68
msgpack::type::object_type type
Definition: object_fwd.hpp:122
uint32_t size
Definition: object_fwd.hpp:60
Definition: adaptor_base.hpp:40
The class template that supports continuous packing.
Definition: adaptor_base.hpp:22
void operator()(msgpack::object &o, const std::string &v) const
Definition: string.hpp:58
Definition: adaptor_base.hpp:29
packer< Stream > & pack_str(uint32_t l)
Packing str header and length.
Definition: pack.hpp:1200
msgpack::object_bin bin
Definition: object_fwd.hpp:118