MySQL 8.0.32
Source Code Documentation
Sdi_Decompressor Class Reference

Decompress SDI record. More...

#include <dict0sdi-decompress.h>

Public Member Functions

 Sdi_Decompressor (byte *uncomp_sdi, uint32_t uncomp_len, byte *comp_sdi, uint32_t comp_len)
 
 ~Sdi_Decompressor ()=default
 
void decompress ()
 Decompress the SDI and store in the buffer passed. More...
 
byteget_data () const
 

Private Attributes

bytem_uncomp_sdi
 Buffer to hold uncompressed SDI. More...
 
uint32_t m_uncomp_len
 Length of Outbuf Buffer. More...
 
bytem_comp_sdi
 Input Compressed SDI. More...
 
uint32_t m_comp_len
 Length of Compressed SDI. More...
 

Detailed Description

Decompress SDI record.

Constructor & Destructor Documentation

◆ Sdi_Decompressor()

Sdi_Decompressor::Sdi_Decompressor ( byte uncomp_sdi,
uint32_t  uncomp_len,
byte comp_sdi,
uint32_t  comp_len 
)
inline

◆ ~Sdi_Decompressor()

Sdi_Decompressor::~Sdi_Decompressor ( )
default

Member Function Documentation

◆ decompress()

void Sdi_Decompressor::decompress ( )
inline

Decompress the SDI and store in the buffer passed.

◆ get_data()

byte * Sdi_Decompressor::get_data ( ) const
inline
Returns
the uncompressed sdi

Member Data Documentation

◆ m_comp_len

uint32_t Sdi_Decompressor::m_comp_len
private

Length of Compressed SDI.

◆ m_comp_sdi

byte* Sdi_Decompressor::m_comp_sdi
private

Input Compressed SDI.

◆ m_uncomp_len

uint32_t Sdi_Decompressor::m_uncomp_len
private

Length of Outbuf Buffer.

◆ m_uncomp_sdi

byte* Sdi_Decompressor::m_uncomp_sdi
private

Buffer to hold uncompressed SDI.

memory allocated by caller


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