MySQL 8.0.40
Source Code Documentation
Clone_Desc_Header Struct Reference

Header common to all descriptors. More...

#include <clone0desc.h>

Public Member Functions

void serialize (byte *desc_hdr)
 Serialize the descriptor header: Caller must allocate the serialized buffer. More...
 
bool deserialize (const byte *desc_hdr, uint desc_len)
 Deserialize the descriptor header. More...
 

Public Attributes

uint m_version
 Descriptor version. More...
 
uint m_length
 Serialized length of descriptor in bytes. More...
 
Clone_Desc_Type m_type
 Descriptor type. More...
 

Detailed Description

Header common to all descriptors.

Member Function Documentation

◆ deserialize()

bool Clone_Desc_Header::deserialize ( const byte desc_hdr,
uint  desc_len 
)

Deserialize the descriptor header.

Parameters
[in]desc_hdrserialized header
[in]desc_lendescriptor length
Returns
true, if successful.

◆ serialize()

void Clone_Desc_Header::serialize ( byte desc_hdr)

Serialize the descriptor header: Caller must allocate the serialized buffer.

Parameters
[out]desc_hdrserialized header

Member Data Documentation

◆ m_length

uint Clone_Desc_Header::m_length

Serialized length of descriptor in bytes.

◆ m_type

Clone_Desc_Type Clone_Desc_Header::m_type

Descriptor type.

◆ m_version

uint Clone_Desc_Header::m_version

Descriptor version.


The documentation for this struct was generated from the following files: