MessagePack for C++
Loading...
Searching...
No Matches
pack_decl.hpp
Go to the documentation of this file.
1//
2// MessagePack for C++ serializing routine
3//
4// Copyright (C) 2008-2018 FURUHASHI Sadayuki and KONDO Takatoshi
5//
6// Distributed under the Boost Software License, Version 1.0.
7// (See accompanying file LICENSE_1_0.txt or copy at
8// http://www.boost.org/LICENSE_1_0.txt)
9//
10#ifndef MSGPACK_V3_PACK_DECL_HPP
11#define MSGPACK_V3_PACK_DECL_HPP
12
14
15namespace msgpack {
16
20
21using v2::packer;
22
23using v2::pack;
24
25#if MSGPACK_ENDIAN_LITTLE_BYTE
26
27using v2::take8_8;
28
29using v2::take8_16;
30
31using v2::take8_32;
32
33using v2::take8_64;
34
35#elif MSGPACK_ENDIAN_BIG_BYTE
36
37using v2::take8_8;
38
39using v2::take8_16;
40
41using v2::take8_32;
42
43using v2::take8_64;
44
45#else
46#error msgpack-c supports only big endian and little endian
47#endif
48
50} // MSGPACK_API_VERSION_NAMESPACE(v3)
52
53} // namespace msgpack
54
55#endif // MSGPACK_V3_PACK_DECL_HPP
Definition adaptor_base.hpp:15
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition versioning.hpp:66