14#ifndef vtkLZ4DataCompressor_h
15#define vtkLZ4DataCompressor_h
18#include "vtkIOCoreModule.h"
20VTK_ABI_NAMESPACE_BEGIN
47 vtkGetMacro(AccelerationLevel,
int);
56 size_t CompressBuffer(
unsigned char const* uncompressedData,
size_t uncompressedSize,
57 unsigned char* compressedData,
size_t compressionSpace)
override;
60 unsigned char* uncompressedData,
size_t uncompressedSize)
override;
Abstract interface for data compression classes.
a simple class to control print indentation
Data compression using LZ4.
~vtkLZ4DataCompressor() override
void SetCompressionLevel(int compressionLevel) override
Compression performance varies greatly with compression level Require level setting from any vtkDataC...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetCompressionLevel() override
Get/Set the compression level.
size_t GetMaximumCompressionSpace(size_t size) override
Get the maximum space that may be needed to store data of the given uncompressed size after compressi...
size_t UncompressBuffer(unsigned char const *compressedData, size_t compressedSize, unsigned char *uncompressedData, size_t uncompressedSize) override
size_t CompressBuffer(unsigned char const *uncompressedData, size_t uncompressedSize, unsigned char *compressedData, size_t compressionSpace) override
static vtkLZ4DataCompressor * New()