23#ifndef vtkZLibDataCompressor_h
24#define vtkZLibDataCompressor_h
27#include "vtkIOCoreModule.h"
62 size_t CompressBuffer(
unsigned char const* uncompressedData,
size_t uncompressedSize,
63 unsigned char* compressedData,
size_t compressionSpace)
override;
66 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.