emlabcpp
modern opinionated embedded C++ library
|
#include <converter.h>
Public Types | |
using | value_type = typename traits_for< D >::value_type |
using | size_type = bounded< std::size_t, max_size, max_size > |
using | value_type = typename traits_for< D >::value_type |
using | inner_type = typename D::value_type |
using | sub_converter = converter_for< inner_type, Endianess > |
using | size_type = typename sub_converter::size_type |
Static Public Member Functions | |
static constexpr auto & | bget (auto &buffer, std::size_t const i) |
static constexpr size_type | serialize_at (std::span< std::byte, max_size > buffer, value_type item) |
static constexpr conversion_result | deserialize (std::span< std::byte const > const &buffer, value_type &value) |
static constexpr size_type | serialize_at (std::span< std::byte, max_size > buffer, value_type const &item) |
static constexpr conversion_result | deserialize (std::span< std::byte const > const &buffer, value_type &value) |
Static Public Attributes | |
static constexpr std::size_t | max_size = traits_for< D >::max_size |
static constexpr bool | is_big_endian = Endianess == std::endian::big |
using emlabcpp::protocol::converter< D, Endianess >::inner_type = typename D::value_type |
using emlabcpp::protocol::converter< D, Endianess >::size_type = bounded< std::size_t, max_size, max_size > |
using emlabcpp::protocol::converter< D, Endianess >::size_type = typename sub_converter::size_type |
using emlabcpp::protocol::converter< D, Endianess >::sub_converter = converter_for< inner_type, Endianess > |
using emlabcpp::protocol::converter< D, Endianess >::value_type = typename traits_for< D >::value_type |
using emlabcpp::protocol::converter< D, Endianess >::value_type = typename traits_for< D >::value_type |
|
inlinestaticconstexpr |
References emlabcpp::protocol::max_size.
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
References emlabcpp::protocol::deserialize().
|
inlinestaticconstexpr |
References emlabcpp::protocol::serialize_at().
|
inlinestaticconstexpr |
|
staticconstexpr |
|
staticconstexpr |