System.ZLib

From Appmethod Libraries
Jump to: navigation, search

Contains the zLib compression library. For more information, see http://www.zlib.net/manual.html Template:UnitInfo

Classes

EZCompressionErrorEZCompressionError is the exception class for errors that may occur during compression.
EZDecompressionErrorEZDecompressionError is the exception class for errors that may occur during decompression.
EZLibErrorException class for ZLib run-time errors.
TCompressionStreamCompresses data as it is written to the stream.
TCustomZLibStreamTCustomZLibStream is an alias for TCustomZStream.
TCustomZStreamAbstract ancestor class for compression streams.
TDecompressionStreamDecompresses data that was written to a TZCompressionStream object.
TZCompressionStreamCompresses data as it is written to the stream.
TZDecompressionStreamDecompresses data that was written to a TZCompressionStream object.

Routines

adler32For internal use only.
adler32_combineFor internal use only.
adler32_combine64For internal use only.
compressFor internal use only.
compress2For internal use only.
compressBoundFor internal use only.
crc32For internal use only.
crc32_combineFor internal use only.
crc32_combine64For internal use only.
deflateFor internal use only.
deflateBoundFor internal use only.
deflateCopyFor internal use only.
deflateEndFor internal use only.
deflateInitFor internal use only.
deflateInit2For internal use only.
deflateInit2_For internal use only.
deflateInit_For internal use only.
deflateParamsFor internal use only.
deflatePrimeFor internal use only.
deflateResetFor internal use only.
deflateSetDictionaryFor internal use only.
deflateSetHeaderFor internal use only.
deflateTuneFor internal use only.
get_crc_tableFor internal use only.
gzbufferFor internal use only.
gzclearerrFor internal use only.
gzcloseFor internal use only.
gzclose_rFor internal use only.
gzclose_wFor internal use only.
gzdirectFor internal use only.
gzdopenFor internal use only.
gzeofFor internal use only.
gzerrorFor internal use only.
gzflushFor internal use only.
gzgetcFor internal use only.
gzgetsFor internal use only.
gzoffsetFor internal use only.
gzoffset64For internal use only.
gzopenFor internal use only.
gzopen64For internal use only.
gzprintfFor internal use only.
gzputcFor internal use only.
gzputsFor internal use only.
gzreadFor internal use only.
gzrewindFor internal use only.
gzseekFor internal use only.
gzseek64For internal use only.
gzsetparamsFor internal use only.
gztellFor internal use only.
gztell64For internal use only.
gzungetcFor internal use only.
gzwriteFor internal use only.
inflateFor internal use only.
inflateBackFor internal use only.
inflateBackEndFor internal use only.
inflateBackInitFor internal use only.
inflateBackInit_For internal use only.
inflateCopyFor internal use only.
inflateEndFor internal use only.
inflateGetHeaderFor internal use only.
inflateInitFor internal use only.
inflateInit2For internal use only.
inflateInit2_For internal use only.
inflateInit_For internal use only.
inflateMarkFor internal use only.
inflatePrimeFor internal use only.
inflateResetFor internal use only.
inflateReset2For internal use only.
inflateSetDictionaryFor internal use only.
inflateSyncFor internal use only.
inflateSyncPointFor internal use only.
inflateUndermineFor internal use only.
MoveI32 (deprecated)MoveI32 moves Count bytes from Source to Destination.
uncompressFor internal use only.
ZCompressZCompress compresses a source buffer into a destination buffer.
ZCompressStrZCompressStr returns the compression of a string.
ZCompressStreamZCompressStream compresses a source stream into a destination stream.
ZDecompressZDecompress decompresses the source buffer specified by inBuffer into the destination buffer specified by outBuffer.
ZDecompressStrZDecompressStr returns the decompression of a compressed string.
ZDecompressStreamZDecompressStream decompresses the source stream represented by inStream into the destination stream represented by outStream.
zErrorFor internal use only.
zlibAllocMemzlibAllocMem allocates a memory block and initializes each byte to zero.
zlibCompileFlagsFor internal use only.
zlibFreeMemzlibFreeMem frees a memory block.
zlibVersionFor internal use only.
ZSendToBrowserZSendToBrowser compresses data from a string and copies it (bitwise) back into the string.

Types

alloc_funcalloc_func represents a function used to allocate a memory block.
free_funcfree_func represents a function used to free a memory block.
gz_headergz_header contains information that is passed to and from System.ZLib routines.
gz_header_sgz_header_s represents an alias for gz header.
gz_headerpgz_headerp represents a pointer to a gz_header.
gzFilegzFile represents an alias for Pointer.
in_funcin_func represents a function that is passed as a parameter to inflateBack function.
internal_stateFor internal use only.
out_funcout_func represents a function that is passed as a parameter to inflateBack function.
Pinternal_statePinternal_state represents a pointer to an internal_state.
TCompressionLevelTCompressionLevel indicates the type of compression algorithm to be used when creating a compressed data stream.
TZAllocTZAlloc represents an alias for alloc_func.
TZCompressionLevelTZCompressionLevel indicates the level of compression.
TZFreeTZFree represents an alias for free_func.
TZStreamRecTZStreamRec represents an alias for z_stream.
z_off64_tz_off64_t represents an alias for Int64.
z_off_tz_off_t represents an alias for Longint.
z_streamz_stream is a record that is used to compress and decompress data.
z_stream_sz_stream_s represents an alias for z_stream.
z_streampz_streamp represents a pointer to a z_stream.

Variables

_z_errmsg_z_errmsg represents an array of possible compression and decompression exceptions.
ZLevelsFor internal use only.
ZLIB_VERSIONZLIB_VERSION is a constant.

Constants

SZInvalidSZInvalid: string = Invalid ZStream operation!;
Z_ASCIIZ_ASCII: Integer = 1;
Z_BEST_COMPRESSIONZ_BEST_COMPRESSION: Integer = 9;
Z_BEST_SPEEDZ_BEST_SPEED: Integer = 1;
Z_BINARYZ_BINARY: Integer = 0;
Z_BLOCKZ_BLOCK: Integer = 5;
Z_BUF_ERRORZ_BUF_ERROR: Integer = $FFFFFFFB;
Z_DATA_ERRORZ_DATA_ERROR: Integer = $FFFFFFFD;
Z_DEFAULT_COMPRESSIONZ_DEFAULT_COMPRESSION: Integer = $FFFFFFFF;
Z_DEFAULT_STRATEGYZ_DEFAULT_STRATEGY: Integer = 0;
Z_DEFLATEDZ_DEFLATED: Integer = 8;
Z_ERRNOZ_ERRNO: Integer = $FFFFFFFF;
Z_FILTEREDZ_FILTERED: Integer = 1;
Z_FINISHZ_FINISH: Integer = 4;
Z_FIXEDZ_FIXED: Integer = 4;
Z_FULL_FLUSHZ_FULL_FLUSH: Integer = 3;
Z_HUFFMAN_ONLYZ_HUFFMAN_ONLY: Integer = 2;
Z_MEM_ERRORZ_MEM_ERROR: Integer = $FFFFFFFC;
Z_NEED_DICTZ_NEED_DICT: Integer = 2;
Z_NO_COMPRESSIONZ_NO_COMPRESSION: Integer = 0;
Z_NO_FLUSHZ_NO_FLUSH: Integer = 0;
Z_NULLZ_NULL: Integer = 0;
Z_OKZ_OK: Integer = 0;
Z_PARTIAL_FLUSHZ_PARTIAL_FLUSH: Integer = 1;
Z_RLEZ_RLE: Integer = 3;
Z_STREAM_ENDZ_STREAM_END: Integer = 1;
Z_STREAM_ERRORZ_STREAM_ERROR: Integer = $FFFFFFFE;
Z_SYNC_FLUSHZ_SYNC_FLUSH: Integer = 2;
Z_TEXTZ_TEXT: Integer = 1;
Z_TREESZ_TREES: Integer = 6;
Z_UNKNOWNZ_UNKNOWN: Integer = 2;
Z_VERSION_ERRORZ_VERSION_ERROR: Integer = $FFFFFFFA;
ZLIB_VER_MAJORZLIB_VER_MAJOR: Integer = 1;
ZLIB_VER_MINORZLIB_VER_MINOR: Integer = 2;
ZLIB_VER_REVSIONZLIB_VER_REVSION: Integer = 8;
ZLIB_VER_SUBREVISIONZLIB_VER_SUBREVISION: Integer = 0;
ZLIB_VERNUMZLIB_VERNUM: Integer = $1280;