MySQL 9.1.0
Source Code Documentation
|
#include <classic_protocol_codec_binary.h>
Public Types | |
using | value_type = T |
using | base_ = impl::EncodeBase< FixedIntCodec< value_type > > |
Public Member Functions | |
constexpr | FixedIntCodec (value_type val, capabilities::value_type caps) |
Public Member Functions inherited from classic_protocol::impl::EncodeBase< FixedIntCodec< T > > | |
constexpr | EncodeBase (capabilities::value_type caps) |
constexpr size_t | size () const noexcept |
stdx::expected< size_t, std::error_code > | encode (net::mutable_buffer buffer) const |
constexpr capabilities::value_type | caps () const noexcept |
Static Public Member Functions | |
static constexpr uint16_t | type () |
static stdx::expected< std::pair< size_t, value_type >, std::error_code > | decode (const net::const_buffer &buffer, capabilities::value_type caps) |
Public Attributes | |
friend | base_ |
Private Member Functions | |
template<class Accumulator > | |
constexpr auto | accumulate_fields (Accumulator &&accu) const |
Private Attributes | |
const value_type | val_ |
Static Private Attributes | |
static constexpr const int | byte_size = BinaryTypeBase<T>::byte_size |
using classic_protocol::impl::FixedIntCodec< T >::base_ = impl::EncodeBase<FixedIntCodec<value_type> > |
using classic_protocol::impl::FixedIntCodec< T >::value_type = T |
|
inlineconstexpr |
|
inlineconstexprprivate |
|
inlinestatic |
|
inlinestaticconstexpr |
friend classic_protocol::impl::FixedIntCodec< T >::base_ |
|
staticconstexprprivate |
|
private |