MySQL 8.0.39
Source Code Documentation
classic_protocol::frame::CompressedHeader Class Reference

header of a compressed frame. More...

#include <classic_protocol_frame.h>

Public Member Functions

constexpr CompressedHeader (size_t payload_size, uint8_t seq_id, size_t uncompressed_size)
 
constexpr size_t payload_size () const noexcept
 
constexpr uint8_t seq_id () const noexcept
 
constexpr size_t uncompressed_size () const noexcept
 

Private Attributes

size_t payload_size_
 
uint8_t seq_id_
 
size_t uncompressed_size_
 

Detailed Description

header of a compressed frame.

used if client and server negotiated compression.

Constructor & Destructor Documentation

◆ CompressedHeader()

constexpr classic_protocol::frame::CompressedHeader::CompressedHeader ( size_t  payload_size,
uint8_t  seq_id,
size_t  uncompressed_size 
)
inlineconstexpr

Member Function Documentation

◆ payload_size()

constexpr size_t classic_protocol::frame::CompressedHeader::payload_size ( ) const
inlineconstexprnoexcept

◆ seq_id()

constexpr uint8_t classic_protocol::frame::CompressedHeader::seq_id ( ) const
inlineconstexprnoexcept

◆ uncompressed_size()

constexpr size_t classic_protocol::frame::CompressedHeader::uncompressed_size ( ) const
inlineconstexprnoexcept

Member Data Documentation

◆ payload_size_

size_t classic_protocol::frame::CompressedHeader::payload_size_
private

◆ seq_id_

uint8_t classic_protocol::frame::CompressedHeader::seq_id_
private

◆ uncompressed_size_

size_t classic_protocol::frame::CompressedHeader::uncompressed_size_
private

The documentation for this class was generated from the following file: