Project
Loading...
Searching...
No Matches
o2::aod::native::test Namespace Reference

Classes

struct  BigEndianWriter
 
class  MemoryByteSource
 A file made of concatenated in-memory buffers. More...
 

Enumerations

enum struct  Algo {
  ZSTD , ZLIB , LZMA , LZ4 ,
  None
}
 

Functions

std::vector< uint8_t > compressChunk (Algo algo, std::span< const uint8_t > in)
 
std::vector< uint8_t > rootCompress (Algo algo, std::span< const uint8_t > in, size_t chunkSize=0xffffff)
 
std::vector< uint8_t > makeBasket (Algo algo, std::span< const uint8_t > values, int32_t nevbuf, size_t tailBytes=0, size_t chunkSize=0xffffff)
 

Enumeration Type Documentation

◆ Algo

enum struct o2::aod::native::test::Algo
strong
Enumerator
ZSTD 
ZLIB 
LZMA 
LZ4 
None 

Definition at line 33 of file RootFraming.h.

Function Documentation

◆ compressChunk()

std::vector< uint8_t > o2::aod::native::test::compressChunk ( Algo  algo,
std::span< const uint8_t >  in 
)
inline

Definition at line 39 of file RootFraming.h.

◆ makeBasket()

std::vector< uint8_t > o2::aod::native::test::makeBasket ( Algo  algo,
std::span< const uint8_t >  values,
int32_t  nevbuf,
size_t  tailBytes = 0,
size_t  chunkSize = 0xffffff 
)
inline

A TBasket key as written on disk: key header, TBasket fields, then the payload holding values followed by a fake entry-offset tail.

Definition at line 114 of file RootFraming.h.

◆ rootCompress()

std::vector< uint8_t > o2::aod::native::test::rootCompress ( Algo  algo,
std::span< const uint8_t >  in,
size_t  chunkSize = 0xffffff 
)
inline

A ROOT compressed payload: chunks of at most chunkSize uncompressed bytes, each with its 9-byte header.

Definition at line 76 of file RootFraming.h.