TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Public Member Functions | Static Public Attributes | List of all members
common::zstd::cstream Class Reference

Provides stream compression functionality. More...

#include <zstdstream.h>

Public Member Functions

 cstream ()
 
 ~cstream ()
 
size_t init (int level=defaultLevel)
 
size_t compress (ZSTD_outBuffer *output, ZSTD_inBuffer *input)
 
size_t flush (ZSTD_outBuffer *output)
 
size_t end (ZSTD_outBuffer *output)
 

Static Public Attributes

static constexpr int defaultLevel = 5
 

Detailed Description

Provides stream compression functionality.

Constructor & Destructor Documentation

common::zstd::cstream::cstream ( )
common::zstd::cstream::~cstream ( )

Member Function Documentation

size_t common::zstd::cstream::compress ( ZSTD_outBuffer *  output,
ZSTD_inBuffer *  input 
)
size_t common::zstd::cstream::end ( ZSTD_outBuffer *  output)
size_t common::zstd::cstream::flush ( ZSTD_outBuffer *  output)
size_t common::zstd::cstream::init ( int  level = defaultLevel)

Member Data Documentation

constexpr int common::zstd::cstream::defaultLevel = 5
static

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