Go to the documentation of this file.
26 #ifndef vtkLZ4DataCompressor_h
27 #define vtkLZ4DataCompressor_h
29 #include "vtkIOCoreModule.h"
58 vtkGetMacro(AccelerationLevel,
int);
68 size_t uncompressedSize,
69 unsigned char* compressedData,
70 size_t compressionSpace)
override;
73 size_t compressedSize,
74 unsigned char* uncompressedData,
75 size_t uncompressedSize)
override;
void SetCompressionLevel(int compressionLevel) override
Compression performance varies greatly with compression level Require level setting from any vtkDataC...
int GetCompressionLevel() override
Get/Set the compression level.
static vtkLZ4DataCompressor * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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...
~vtkLZ4DataCompressor() override
size_t CompressBuffer(unsigned char const *uncompressedData, size_t uncompressedSize, unsigned char *compressedData, size_t compressionSpace) override
a simple class to control print indentation
Abstract interface for data compression classes.
Data compression using LZ4.
size_t UncompressBuffer(unsigned char const *compressedData, size_t compressedSize, unsigned char *uncompressedData, size_t uncompressedSize) override