10#ifndef MSGPACK_V1_TYPE_V4RAW_HPP
11#define MSGPACK_V1_TYPE_V4RAW_HPP
32 std::string
str()
const {
return std::string(
ptr,
size); }
72struct pack<type::v4raw_ref> {
73 template <
typename Stream>
84 o.
type = msgpack::type::STR;
The class template that supports continuous packing.
Definition pack.hpp:33
packer< Stream > & pack_v4raw(uint32_t l)
Packing raw (v4) header and length.
Definition pack.hpp:1264
packer< Stream > & pack_v4raw_body(const char *b, uint32_t l)
Packing raw (v4) body.
Definition pack.hpp:1283
Definition object_fwd.hpp:231
Definition adaptor_base.hpp:15
msgpack::object const & operator()(msgpack::object const &o, type::v4raw_ref &v) const
Definition v4raw.hpp:63
Definition adaptor_base.hpp:27
void operator()(msgpack::object &o, const type::v4raw_ref &v) const
Definition v4raw.hpp:83
void operator()(msgpack::object::with_zone &o, const type::v4raw_ref &v) const
Definition v4raw.hpp:92
Definition adaptor_base.hpp:43
Definition adaptor_base.hpp:38
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, const type::v4raw_ref &v) const
Definition v4raw.hpp:74
Definition adaptor_base.hpp:32
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
v4raw_ref(const char *p, uint32_t s)
Definition v4raw.hpp:27
std::string str() const
Definition v4raw.hpp:32
bool operator>(const v4raw_ref &x) const
Definition v4raw.hpp:50
uint32_t size
Definition v4raw.hpp:29
const char * ptr
Definition v4raw.hpp:30
v4raw_ref()
Definition v4raw.hpp:26
msgpack::object_str str
Definition object_fwd.hpp:87
#define MSGPACK_NULLPTR
Definition cpp_config_decl.hpp:85
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition versioning.hpp:66