![]() |
MySQL 9.0.0
Source Code Documentation
|
codec for ignorable bytes. More...
#include <classic_protocol_codec_wire.h>
Public Types | |
using | value_type = size_t |
Public Member Functions | |
Codec (value_type val, capabilities::value_type caps) | |
size_t | size () const noexcept |
stdx::expected< size_t, std::error_code > | encode (const net::mutable_buffer &buffer) const |
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) |
Private Attributes | |
const value_type | v_ |
const capabilities::value_type | caps_ |
codec for ignorable bytes.
limited by length or buffer.size()
using classic_protocol::Codec< void >::value_type = size_t |
|
inline |
|
inlinestatic |
|
inline |
|
inlinestaticnoexcept |
|
inlinenoexcept |
|
private |
|
private |