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

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

Definition at line 171 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. More...
void Unzip (void *fromto, size_t nbytes, size_t dataLen)
 In-place decompression via unzip buffer. More...

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>

Definition at line 173 of file RNTupleZip.hxx.

Constructor & Destructor Documentation

◆ RNTupleDecompressor() [1/3]

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

Definition at line 177 of file RNTupleZip.hxx.

◆ RNTupleDecompressor() [2/3]

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

◆ RNTupleDecompressor() [3/3]

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ Unzip() [1/2]

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

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

◆ Unzip() [2/2]

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

In-place decompression via unzip buffer.

Definition at line 221 of file RNTupleZip.hxx.

Member Data Documentation

◆ fUnzipBuffer

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

Definition at line 174 of file RNTupleZip.hxx.

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