cpp-msgpack-light 0.3.0
A light library to serialize MessagePack.
|
Definition of to_big_endian function. More...
#include <array>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include "msgpack_light/details/mutable_static_binary_view.h"
Go to the source code of this file.
Namespaces | |
namespace | msgpack_light |
Namespace of this project. | |
namespace | msgpack_light::details |
Namespace of internal implementations. |
Functions | |
template<std::size_t N> | |
void | msgpack_light::details::to_big_endian (const void *from, mutable_static_binary_view< N > to) noexcept |
Convert to big endian. | |
template<std::size_t N> | |
void | msgpack_light::details::to_big_endian (const void *from, std::array< unsigned char, N > *to) noexcept |
Convert to big endian. | |
template<> | |
void | msgpack_light::details::to_big_endian< 1U > (const void *from, mutable_static_binary_view< 1U > to) noexcept |
Convert to big endian. | |
template<> | |
void | msgpack_light::details::to_big_endian< 2U > (const void *from, mutable_static_binary_view< 2U > to) noexcept |
Convert to big endian. | |
template<> | |
void | msgpack_light::details::to_big_endian< 4U > (const void *from, mutable_static_binary_view< 4U > to) noexcept |
Convert to big endian. | |
template<> | |
void | msgpack_light::details::to_big_endian< 8U > (const void *from, mutable_static_binary_view< 8U > to) noexcept |
Convert to big endian. |
Definition of to_big_endian function.
Definition in file to_big_endian.h.