|
cpp-msgpack-light 0.3.0
A light library to serialize MessagePack.
|
Definition of classes to support serialization of integer values. More...
#include <cstdint>#include <type_traits>#include "msgpack_light/serialization_buffer.h"#include "msgpack_light/type_support/fwd.h"Go to the source code of this file.
Namespaces | |
| namespace | msgpack_light |
| Namespace of this project. | |
| namespace | msgpack_light::type_support |
| Namespace of classes to support serialization of types. | |
| namespace | msgpack_light::type_support::details |
| Namespace of internal implementations. | |
Variables | |
| template<typename T> | |
| constexpr bool | msgpack_light::type_support::details::is_integer_v = std::is_integral_v<T> && !std::is_same_v<T, bool> |
| Check whether a type is an integer. | |
| template<typename T> | |
| constexpr bool | msgpack_light::type_support::details::is_signed_integer_v = is_integer_v<T> && std::is_signed_v<T> |
| Check whether a type is a signed integer. | |
| template<typename T> | |
| constexpr bool | msgpack_light::type_support::details::is_unsigned_integer_v = is_integer_v<T> && std::is_unsigned_v<T> |
| Check whether a type is an unsigned integer. | |
| template<typename T> | |
| constexpr auto | msgpack_light::type_support::details::max_positive_fixint = static_cast<T>(0x7F) |
| Maximum value in positive fixint format. | |
| template<typename T> | |
| constexpr auto | msgpack_light::type_support::details::max_uint16 = static_cast<T>(0xFFFF) |
| Maximum value in uint 16 format. | |
| template<typename T> | |
| constexpr auto | msgpack_light::type_support::details::max_uint32 = static_cast<T>(0xFFFFFFFF) |
| Maximum value in uint 32 format. | |
| template<typename T> | |
| constexpr auto | msgpack_light::type_support::details::max_uint8 = static_cast<T>(0xFF) |
| Maximum value in uint 8 format. | |
| template<typename T> | |
| constexpr auto | msgpack_light::type_support::details::min_int16 = static_cast<T>(static_cast<std::int16_t>(0X8000)) |
| Minimum value in int 16 format. | |
| template<typename T> | |
| constexpr auto | msgpack_light::type_support::details::min_int32 |
| Minimum value in int 32 format. | |
| template<typename T> | |
| constexpr auto | msgpack_light::type_support::details::min_int8 |
| Minimum value in int 8 format. | |
| template<typename T> | |
| constexpr auto | msgpack_light::type_support::details::min_negative_fixint |
| Minimum value in negative fixint format. | |
Definition of classes to support serialization of integer values.
Definition in file integer.h.