MySQL 9.1.0
Source Code Documentation
|
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... | |
Header common to all descriptors.
bool Clone_Desc_Header::deserialize | ( | const byte * | desc_hdr, |
uint | desc_len | ||
) |
Deserialize the descriptor header.
[in] | desc_hdr | serialized header |
[in] | desc_len | descriptor length |
void Clone_Desc_Header::serialize | ( | byte * | desc_hdr | ) |
Serialize the descriptor header: Caller must allocate the serialized buffer.
[out] | desc_hdr | serialized header |
uint Clone_Desc_Header::m_length |
Serialized length of descriptor in bytes.
Clone_Desc_Type Clone_Desc_Header::m_type |
Descriptor type.
uint Clone_Desc_Header::m_version |
Descriptor version.