23#ifndef vtkLZ4DataCompressor_h
24#define vtkLZ4DataCompressor_h
27#include "vtkIOCoreModule.h"
55 vtkGetMacro(AccelerationLevel,
int);
64 size_t CompressBuffer(
unsigned char const* uncompressedData,
size_t uncompressedSize,
65 unsigned char* compressedData,
size_t compressionSpace)
override;
68 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()