MySQL 8.0.39
Source Code Documentation
|
Codec of Compressed Header. More...
#include <classic_protocol_codec_frame.h>
Public Types | |
using | value_type = frame::CompressedHeader |
using | __base = impl::EncodeBase< Codec< value_type > > |
Public Member Functions | |
constexpr | Codec (value_type v, capabilities::value_type caps) |
Public Member Functions inherited from classic_protocol::impl::EncodeBase< Codec< frame::CompressedHeader > > | |
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 size_t | max_size () noexcept |
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 > | |
auto | accumulate_fields (Accumulator &&accu) const |
Private Attributes | |
const value_type | v_ |
Codec of Compressed Header.
using classic_protocol::Codec< frame::CompressedHeader >::__base = impl::EncodeBase<Codec<value_type> > |
|
inlineconstexpr |
|
inlineprivate |
|
inlinestatic |
|
inlinestaticnoexcept |
friend classic_protocol::Codec< frame::CompressedHeader >::__base |
|
private |