14#ifndef vtkZLibDataCompressor_h
15#define vtkZLibDataCompressor_h
18#include "vtkIOCoreModule.h"
20VTK_ABI_NAMESPACE_BEGIN
54 size_t CompressBuffer(
unsigned char const* uncompressedData,
size_t uncompressedSize,
55 unsigned char* compressedData,
size_t compressionSpace)
override;
58 unsigned char* uncompressedData,
size_t uncompressedSize)
override;
Abstract interface for data compression classes.
a simple class to control print indentation
Data compression using zlib.
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.
~vtkZLibDataCompressor() override
size_t UncompressBuffer(unsigned char const *compressedData, size_t compressedSize, unsigned char *uncompressedData, size_t uncompressedSize) override
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 CompressBuffer(unsigned char const *uncompressedData, size_t uncompressedSize, unsigned char *compressedData, size_t compressionSpace) override
static vtkZLibDataCompressor * New()
void SetCompressionLevel(int compressionLevel) override
Get/Set the compression level.