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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ RNTupleDecompressor() [1/3]

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

Definition at line 140 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]

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

◆ 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

Member Data Documentation

◆ fUnzipBuffer

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

Definition at line 137 of file RNTupleZip.hxx.

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

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