Overview
========
This directory contains an update to the ZLib interface unit,
distributed by Borland as a Delphi supplemental component.
The original ZLib unit is Copyright (c) 1997,99 Borland Corp.,
and is based on zlib version 1.0.4. There are a series of bugs
and security problems associated with that old zlib version, and
we recommend the users to update their ZLib unit.
Summary of modifications
========================
- Improved makefile, adapted to zlib version 1.2.1.
- Some field types from TZStreamRec are changed from Integer to
Longint, for consistency with the zlib.h header, and for 64-bit
readiness.
- The zlib_version constant is updated.
- The new Z_RLE strategy has its corresponding symbolic constant.
- The allocation and deallocation functions and function types
(TAlloc, TFree, zlibAllocMem and zlibFreeMem) are now cdecl,
and _malloc and _free are added as C RTL stubs. As a result,
the original C sources of zlib can be compiled out of the box,
and linked to the ZLib unit.
Suggestions for improvements
============================
Currently, the ZLib unit provides only a limited wrapper around
the zlib library, and much of the original zlib functionality is
missing. Handling compressed file formats like ZIP/GZIP or PNG
cannot be implemented without having this functionality.
Applications that handle these formats are either using their own,
duplicated code, or not using the ZLib unit at all.
Here are a few suggestions:
- Checksum class wrappers around adler32() and crc32(), similar
to the Java classes that implement the java.util.zip.Checksum
interface.
- The ability to read and write raw deflate streams, without the
zlib stream header and trailer. Raw deflate streams are used
in the ZIP file format.
- The ability to read and write gzip streams, used in the GZIP
file format, and normally produced by the gzip program.
- The ability to select a different compression strategy, useful
to PNG and MNG image compression, and to multimedia compression
in general. Besides the compression level
TCompressionLevel = (clNone, clFastest, clDefault, clMax);
which, in fact, could have used the 'z' prefix and avoided
TColor-like symbols
TCompressionLevel = (zcNone, zcFastest, zcDefault, zcMax);
there could be a compression strategy
TCompressionStrategy = (zsDefault, zsFiltered, zsHuffmanOnly, zsRle);
- ZIP and GZIP stream handling via TStreams.
--
Cosmin Truta <cosmint@cs.ubbcluj.ro>
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Indy10 delphi4-delphi15控件 (1005个子文件)
Fullc5.bat 6KB
Fullc6.bat 5KB
Fullc4.bat 5KB
FullD12.bat 4KB
Fulld10.bat 2KB
Fulld11.bat 2KB
Fulld7.bat 2KB
Fulld9.bat 2KB
Fulld6.bat 2KB
Fulld5.bat 2KB
buildres.bat 1KB
Clean.bat 1006B
build.bat 66B
makeres.bat 40B
Indy.Sockets.bdsproj 40KB
Indy.Sockets.bdsproj 37KB
Indy.SocketsDebug.bdsproj 33KB
IndyProtocols100Net.bdsproj 30KB
IndyProtocols90Net.bdsproj 26KB
IndyCore90.bdsproj 18KB
IndySystem90.bdsproj 18KB
IndyCore90Net.bdsproj 16KB
IndyCore100Net.bdsproj 15KB
dclIndyCore90.bdsproj 14KB
IndyProtocols90.bdsproj 14KB
dclIndyCore100Net.bdsproj 13KB
dclIndyProtocols90.bdsproj 13KB
dclIndyProtocols90Net.bdsproj 12KB
dclIndySecurity90Net.bdsproj 12KB
IndySecurity100Net.bdsproj 12KB
IndySystem80Net.bdsproj 12KB
IndySecurity90Net.bdsproj 11KB
dclIndySecurity100Net.bdsproj 11KB
DsnIndy90.bdsproj 11KB
dclIndyProtocols100Net.bdsproj 10KB
dclIndyCore90Net.bdsproj 10KB
IndySystem100Net.bdsproj 10KB
IndySystem90Net.bdsproj 10KB
DsnIndy.bdsproj 9KB
dclIndyProtocols100.bdsproj 8KB
dclIndyCore100.bdsproj 8KB
IndyProtocols100.bdsproj 8KB
IndySystem100.bdsproj 8KB
IndyCore100.bdsproj 8KB
IndyCar.bmp 273KB
Sink.bmp 272KB
1sinkPlainCroppedRed.bmp 154KB
TIDABOUTPICTURE.BMP 84KB
TIdMessageEncoderMIME.bmp 2KB
TIdHTTPProxyServer.bmp 2KB
TIdMessageDecoderMIME.bmp 2KB
TIdSchedulerOfFiber.bmp 1KB
TIdFiberWeaverInline.bmp 1KB
TIdServerIOHandlerChain.bmp 1KB
TIdFiberWeaverThreaded.bmp 1KB
TIdChainEngine.bmp 1KB
TIdIMAP4.bmp 1KB
TIdUserAccounts.bmp 1KB
TIdUserPassProvider.bmp 1KB
TIdFingerServer.bmp 1KB
TIdServerInterceptLogFile.bmp 1KB
TIdTimeUDP.bmp 1KB
TIdDateTimeStamp.bmp 1KB
TIdMessageEncoderYENC.bmp 1KB
TIdSASL.bmp 1KB
TIdRSH.bmp 1KB
TIdTunnelMaster.bmp 1KB
TIdNNTPServer.bmp 1KB
TIdServerIOHandlerSocket.bmp 1KB
TIdMappedTelnet.bmp 1KB
TIdDNSServer.bmp 1KB
TIdDICTServer.bmp 1KB
TIdFTP.bmp 1KB
TIdEchoUDPServer.bmp 1KB
TIdSystat.bmp 1KB
TIdEchoUDP.bmp 1KB
TIdGopherServer.bmp 1KB
TIdSASLPlain.bmp 1KB
TIdSMTPServer.bmp 1KB
TIdSASLList.bmp 1KB
TIdIOHandlerChain.bmp 1KB
TIdIOHandlerSocket.bmp 1KB
TIdDecoderQuotedPrintable.bmp 1KB
TIdMappedFTP.bmp 1KB
TIdMBCSDecoder.bmp 1KB
TIdDayTime.bmp 1KB
TIdSASLCRAMMD5.bmp 1KB
TIdIMAP4Server.bmp 1KB
TIdDayTimeUDPServer.bmp 1KB
TIdPOP3Server.bmp 1KB
TIdSSLIOHandlerSocket.bmp 1KB
TIdDecoderMIME.bmp 1KB
TIdSyslogServer.bmp 1KB
TIdChargenUDPServer.bmp 1KB
TIdECHOServer.bmp 1KB
TIdServerInterceptLogEvent.bmp 1KB
TIdRSHServer.bmp 1KB
TIdSysLogMessage.bmp 1KB
TIdSASLAnonymous.bmp 1KB
TIdSASLLogin.bmp 1KB
共 1005 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11
资源评论
- u0101218292013-10-29还挺实用,如果是有D7就更好了
- hftige2013-11-28不支持XE失望
道玄希言
- 粉丝: 372
- 资源: 52
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功