Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ZipLZ4.cxx File Reference
#include "ZipLZ4.h"
#include "ROOT/RConfig.hxx"
#include <cinttypes>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <lz4.h>
#include <lz4hc.h>
#include <xxhash.h>
Include dependency graph for ZipLZ4.cxx:

Functions

void R__unzipLZ4 (int *srcsize, const unsigned char *src, int *tgtsize, unsigned char *tgt, int *irep)
void R__zipLZ4 (int cxlevel, int *srcsize, const char *src, int *tgtsize, char *tgt, int *irep)

Variables

static const int kChecksumOffset = 2 + 1 + 3 + 3
static const int kChecksumSize = sizeof(XXH64_canonical_t)
static const int kHeaderSize = kChecksumOffset + kChecksumSize

Function Documentation

◆ R__unzipLZ4()

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

Definition at line 87 of file ZipLZ4.cxx.

◆ R__zipLZ4()

void R__zipLZ4 ( int cxlevel,
int * srcsize,
const char * src,
int * tgtsize,
char * tgt,
int * irep )

Definition at line 33 of file ZipLZ4.cxx.

Variable Documentation

◆ kChecksumOffset

const int kChecksumOffset = 2 + 1 + 3 + 3
static

Definition at line 29 of file ZipLZ4.cxx.

◆ kChecksumSize

const int kChecksumSize = sizeof(XXH64_canonical_t)
static

Definition at line 30 of file ZipLZ4.cxx.

◆ kHeaderSize

const int kHeaderSize = kChecksumOffset + kChecksumSize
static

Definition at line 31 of file ZipLZ4.cxx.