10 #ifndef MSGPACK_V1_TYPE_CPP11_ARRAY_CHAR_HPP
11 #define MSGPACK_V1_TYPE_CPP11_ARRAY_CHAR_HPP
28 template <std::
size_t N>
55 template <std::
size_t N>
56 struct pack<std::array<char, N>> {
57 template <
typename Stream>
67 template <std::
size_t N>
77 template <std::
size_t N>
85 std::memcpy(ptr, v.data(),
size);
The class template that supports continuous packing.
Definition: pack.hpp:33
packer< Stream > & pack_bin(uint32_t l)
Packing bin header and length.
Definition: pack.hpp:1290
packer< Stream > & pack_bin_body(const char *b, uint32_t l)
Packing bin body.
Definition: pack.hpp:1309
Definition: object_fwd.hpp:231
void * allocate_align(size_t size, size_t align=MSGPACK_ZONE_ALIGN)
Definition: cpp03_zone.hpp:256
std::size_t size(T const &t)
Definition: size_equal_only.hpp:24
@ STR
Definition: object_fwd_decl.hpp:38
@ BIN
Definition: object_fwd_decl.hpp:39
Definition: adaptor_base.hpp:15
uint32_t checked_get_container_size(T size)
Definition: check_container_size.hpp:55
msgpack::object const & operator()(msgpack::object const &o, std::array< char, 0 > &) const
Definition: array_char.hpp:50
msgpack::object const & operator()(msgpack::object const &o, std::array< char, N > &v) const
Definition: array_char.hpp:30
Definition: adaptor_base.hpp:27
void operator()(msgpack::object &o, const std::array< char, N > &v) const
Definition: array_char.hpp:69
void operator()(msgpack::object::with_zone &o, const std::array< char, N > &v) const
Definition: array_char.hpp:79
Definition: adaptor_base.hpp:43
Definition: adaptor_base.hpp:38
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, const std::array< char, N > &v) const
Definition: array_char.hpp:58
Definition: adaptor_base.hpp:32
Definition: object.hpp:35
msgpack::zone & zone
Definition: object.hpp:37
uint32_t size
Definition: object_fwd.hpp:38
const char * ptr
Definition: object_fwd.hpp:39
const char * ptr
Definition: object_fwd.hpp:34
uint32_t size
Definition: object_fwd.hpp:33
Object class that corresponding to MessagePack format object.
Definition: object_fwd.hpp:75
union_type via
Definition: object_fwd.hpp:93
msgpack::type::object_type type
Definition: object_fwd.hpp:92
msgpack::object_str str
Definition: object_fwd.hpp:87
msgpack::object_bin bin
Definition: object_fwd.hpp:88
#define MSGPACK_ZONE_ALIGNOF(type)
Definition: cpp03_zone_decl.hpp:30
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:66