Logo ROOT   master
Reference Guide
ROOT::Experimental::Detail::RNTupleDecompressor Class Reference


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

Definition at line 132 of file RNTupleZip.hxx.

Public Member Functions

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

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 134 of file RNTupleZip.hxx.

Constructor & Destructor Documentation

◆ RNTupleDecompressor() [1/2]

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

Definition at line 138 of file RNTupleZip.hxx.

◆ RNTupleDecompressor() [2/2]

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

Member Function Documentation

◆ operator()() [1/2]

void ROOT::Experimental::Detail::RNTupleDecompressor::operator() ( 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 146 of file RNTupleZip.hxx.

◆ operator()() [2/2]

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

In-place decompression via unzip buffer.

Definition at line 180 of file RNTupleZip.hxx.

◆ operator=()

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

Member Data Documentation

◆ fUnzipBuffer

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

Definition at line 135 of file RNTupleZip.hxx.


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