10 #ifndef MSGPACK_V1_TYPE_STRING_HPP 11 #define MSGPACK_V1_TYPE_STRING_HPP 48 template <
typename Stream>
75 std::memcpy(ptr, v.data(), v.size());
87 #endif // MSGPACK_V1_TYPE_STRING_HPP Definition: object_fwd_decl.hpp:37
msgpack::object const & operator()(msgpack::object const &o, std::string &v) const
Definition: string.hpp:30
void * allocate_align(size_t size, size_t align=MSGPACK_ZONE_ALIGN)
Definition: cpp03_zone.hpp:236
void operator()(msgpack::object &o, const std::string &v) const
Definition: string.hpp:59
const char * ptr
Definition: object_fwd.hpp:39
void operator()(msgpack::object::with_zone &o, const std::string &v) const
Definition: string.hpp:69
uint32_t checked_get_container_size(T size)
Definition: check_container_size.hpp:55
union_type via
Definition: object_fwd.hpp:92
Definition: object_fwd_decl.hpp:38
msgpack::zone & zone
Definition: object.hpp:36
uint32_t size
Definition: object_fwd.hpp:38
Definition: adaptor_base.hpp:15
const char * ptr
Definition: object_fwd.hpp:34
Definition: object.hpp:34
packer< Stream > & pack_str_body(const char *b, uint32_t l)
Packing str body.
Definition: pack.hpp:1220
Definition: adaptor_base.hpp:43
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, const std::string &v) const
Definition: string.hpp:49
Definition: object_fwd.hpp:233
Definition: adaptor_base.hpp:32
msgpack::object_str str
Definition: object_fwd.hpp:86
Object class that corresponding to MessagePack format object.
Definition: object_fwd.hpp:75
msgpack::type::object_type type
Definition: object_fwd.hpp:91
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:58
uint32_t size
Definition: object_fwd.hpp:33
Definition: adaptor_base.hpp:38
The class template that supports continuous packing.
Definition: adaptor_base_decl.hpp:24
Definition: adaptor_base.hpp:27
packer< Stream > & pack_str(uint32_t l)
Packing str header and length.
Definition: pack.hpp:1197
msgpack::object_bin bin
Definition: object_fwd.hpp:87