Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Detail::RNTupleDecompressor Class Reference

Helper class to uncompress data blocks in the ROOT compression frame format.

Definition at line 175 of file RNTupleZip.hxx.

Public Member Functions

 RNTupleDecompressor ()
 
 RNTupleDecompressor (const RNTupleDecompressor &other)=delete
 
 RNTupleDecompressor (RNTupleDecompressor &&other)=default
 
RNTupleDecompressoroperator= (const RNTupleDecompressor &other)=delete
 
RNTupleDecompressoroperator= (RNTupleDecompressor &&other)=default
 
void Unzip (const void *from, size_t nbytes, size_t dataLen, void *to)
 The nbytes parameter provides the size ls of the from buffer.
 
void Unzip (void *fromto, size_t nbytes, size_t dataLen)
 In-place decompression via unzip buffer.
 

Private Types

using Buffer_t = std::array< unsigned char, kMAXZIPBUF >
 

Private Attributes

std::unique_ptr< Buffer_tfUnzipBuffer
 

#include <ROOT/RNTupleZip.hxx>

Member Typedef Documentation

◆ Buffer_t

using ROOT::Experimental::Detail::RNTupleDecompressor::Buffer_t = std::array<unsigned char, kMAXZIPBUF>
private

Definition at line 177 of file RNTupleZip.hxx.

Constructor & Destructor Documentation

◆ RNTupleDecompressor() [1/3]

ROOT::Experimental::Detail::RNTupleDecompressor::RNTupleDecompressor ( )
inline

Definition at line 181 of file RNTupleZip.hxx.

◆ RNTupleDecompressor() [2/3]

ROOT::Experimental::Detail::RNTupleDecompressor::RNTupleDecompressor ( const RNTupleDecompressor other)
delete

◆ RNTupleDecompressor() [3/3]

ROOT::Experimental::Detail::RNTupleDecompressor::RNTupleDecompressor ( RNTupleDecompressor &&  other)
default

Member Function Documentation

◆ operator=() [1/2]

RNTupleDecompressor & ROOT::Experimental::Detail::RNTupleDecompressor::operator= ( const RNTupleDecompressor other)
delete

◆ operator=() [2/2]

RNTupleDecompressor & ROOT::Experimental::Detail::RNTupleDecompressor::operator= ( RNTupleDecompressor &&  other)
default

◆ Unzip() [1/2]

void ROOT::Experimental::Detail::RNTupleDecompressor::Unzip ( const void from,
size_t  nbytes,
size_t  dataLen,
void to 
)
inline

The nbytes parameter provides the size ls of the from buffer.

The dataLen gives the size of the uncompressed data. The block is uncompressed iff nbytes == dataLen.

Definition at line 191 of file RNTupleZip.hxx.

◆ Unzip() [2/2]

void ROOT::Experimental::Detail::RNTupleDecompressor::Unzip ( void fromto,
size_t  nbytes,
size_t  dataLen 
)
inline

In-place decompression via unzip buffer.

Definition at line 225 of file RNTupleZip.hxx.

Member Data Documentation

◆ fUnzipBuffer

std::unique_ptr<Buffer_t> ROOT::Experimental::Detail::RNTupleDecompressor::fUnzipBuffer
private

Definition at line 178 of file RNTupleZip.hxx.

Libraries for ROOT::Experimental::Detail::RNTupleDecompressor:

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