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.5.6 (972个子文件)
Fullc5.bat 6KB
Fullc6.bat 5KB
Fullc4.bat 5KB
FullD12.bat 4KB
Fulld11.bat 2KB
Fulld10.bat 2KB
Fulld6.bat 2KB
Fulld7.bat 2KB
Fulld9.bat 2KB
Fulld5.bat 2KB
buildres.bat 1KB
Clean.bat 791B
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
TIdMessageDecoderMIME.bmp 2KB
TIdHTTPProxyServer.bmp 2KB
TIdMessageEncoderMIME.bmp 2KB
TIdFiberWeaverThreaded.bmp 1KB
TIdChainEngine.bmp 1KB
TIdFiberWeaverInline.bmp 1KB
TIdServerIOHandlerChain.bmp 1KB
TIdSchedulerOfFiber.bmp 1KB
TIdSimpleServer.bmp 1KB
TIdTCPServer.bmp 1KB
TIdIOHandlerStack.bmp 1KB
TIdConnectionIntercept.bmp 1KB
TIdIPMCastServer.bmp 1KB
TIdInterceptSimLog.bmp 1KB
TIdCmdTCPServer.bmp 1KB
TIdLogEvent.bmp 1KB
TIdLogStream.bmp 1KB
TIdUDPClient.bmp 1KB
TIdLogFile.bmp 1KB
TIdInterceptThrottler.bmp 1KB
TIdIPMCastClient.bmp 1KB
TIdCmdTCPClient.bmp 1KB
TIdAntiFreeze.bmp 1KB
TIdUDPServer.bmp 1KB
TIdSocksInfo.bmp 1KB
TIdIOHandlerStream.bmp 1KB
TIdICMPClient.bmp 1KB
TIdSchedulerOfThreadDefault.bmp 1KB
TIdLogDebug.bmp 1KB
TIdThreadComponent.bmp 1KB
TIdServerIOHandlerStack.bmp 1KB
TIdSchedulerOfThreadPool.bmp 1KB
TIdTelnetServer.bmp 1KB
TIdDayTimeUDPServer.bmp 1KB
TIdHTTP.bmp 1KB
TIdMappedTelnet.bmp 1KB
TIdTunnelMaster.bmp 1KB
TIDMBCSEncoder.bmp 1KB
TIdRLECompress.bmp 1KB
TIdEncoderUUE.bmp 1KB
TIdSASLLogin.bmp 1KB
TIdServerInterceptLogEvent.bmp 1KB
TIdCoderMD4.bmp 1KB
TIdServerIOHandlerStream.bmp 1KB
TIdEncoderXXE.bmp 1KB
TIdQOTD.bmp 1KB
TIdDayTime.bmp 1KB
TIdSMTPServer.bmp 1KB
TIdCompressionIntercept.bmp 1KB
TIdIdentServer.bmp 1KB
TIdDayTimeUDP.bmp 1KB
TIdTimeUDP.bmp 1KB
共 972 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论
laoxi18
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功