Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
RZip.h File Reference
#include "Compression.h"
Include dependency graph for RZip.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  ROOT
 Small utility to parse cmdline options.
namespace  ROOT::Internal
 These are definitions of various free functions for the C-style compression routines in ROOT.

Enumerations

enum  { kMAXZIPBUF = 0xffffff }

Functions

unsigned long R__crc32 (unsigned long crc, const unsigned char *buf, unsigned int len)
ROOT::RCompressionSetting::EAlgorithm::EValues R__getCompressionAlgorithm (const unsigned char *buf, size_t bufsize)
unsigned long R__memcompress (char *tgt, unsigned long tgtsize, const char *src, unsigned long srcsize)
void R__unzip (int *srcsize, const unsigned char *src, int *tgtsize, unsigned char *tgt, int *irep)
int R__unzip_header (int *srcsize, const unsigned char *src, int *tgtsize)
void R__zipMultipleAlgorithm (int cxlevel, int *srcsize, const char *src, int *tgtsize, char *tgt, int *irep, ROOT::RCompressionSetting::EAlgorithm::EValues algorithm)

Variables

constexpr int ROOT::Internal::kZipHeaderSize = 9
 Number of bytes of the ROOT compression block header.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
kMAXZIPBUF 0xffffff 

Definition at line 40 of file RZip.h.

Function Documentation

◆ R__crc32()

unsigned long R__crc32 ( unsigned long crc,
const unsigned char * buf,
unsigned int len )

◆ R__getCompressionAlgorithm()

ROOT::RCompressionSetting::EAlgorithm::EValues R__getCompressionAlgorithm ( const unsigned char * buf,
size_t bufsize )

◆ R__memcompress()

unsigned long R__memcompress ( char * tgt,
unsigned long tgtsize,
const char * src,
unsigned long srcsize )

◆ R__unzip()

void R__unzip ( int * srcsize,
const unsigned char * src,
int * tgtsize,
unsigned char * tgt,
int * irep )

◆ R__unzip_header()

int R__unzip_header ( int * srcsize,
const unsigned char * src,
int * tgtsize )

◆ R__zipMultipleAlgorithm()

void R__zipMultipleAlgorithm ( int cxlevel,
int * srcsize,
const char * src,
int * tgtsize,
char * tgt,
int * irep,
ROOT::RCompressionSetting::EAlgorithm::EValues algorithm )