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>
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
sgcWebSockets v4.4.4 for D7-D10.4 Sydney Full Source.7z (749个子文件)
build.bat 116B
sgcResources.bat 24B
sgcWebSocketsD2006.bdsgroup 727B
sgcWebSocketsD2006.bdsproj 8KB
dclsgcWebSocketsD2006.bdsproj 8KB
sgcWebSocketsD7.bpg 860B
deflate.c 66KB
inflate.c 51KB
trees.c 44KB
infback.c 22KB
gzread.c 20KB
example.c 16KB
gzwrite.c 14KB
gzlib.c 14KB
inftrees.c 13KB
crc32.c 13KB
inffast.c 13KB
minigzip.c 11KB
zutil.c 7KB
adler32.c 5KB
compress.c 2KB
uncompr.c 2KB
gzclose.c 678B
sgcWebSocketsC10_3.cbproj 94KB
sgcWebSocketsC10_4.cbproj 79KB
dclsgcWebSocketsC10_4.cbproj 73KB
dclsgcWebSocketsC10_3.cbproj 73KB
sgcWebSocketsC10_2.cbproj 70KB
sgcWebSocketsC10_1.cbproj 64KB
sgcWebSocketsC10.cbproj 63KB
sgcWebSocketsCXE8.cbproj 61KB
sgcWebSocketsCXE7.cbproj 53KB
dclsgcWebSocketsC10_1.cbproj 50KB
dclsgcWebSocketsC10_2.cbproj 50KB
dclsgcWebSocketsC10.cbproj 44KB
dclsgcWebSocketsCXE8.cbproj 43KB
sgcWebSocketsCXE6.cbproj 35KB
dclsgcWebSocketsCXE7.cbproj 34KB
sgcWebSocketsCXE5.cbproj 32KB
sgcWebSocketsCXE2.cbproj 24KB
sgcWebSocketsCXE4.cbproj 24KB
sgcWebSocketsCXE3.cbproj 24KB
sgcWebSocketsC2010.cbproj 24KB
sgcWebSocketsCXE.cbproj 24KB
sgcWebSocketsC2007.cbproj 24KB
dclsgcWebSocketsCXE6.cbproj 18KB
dclsgcWebSocketsCXE5.cbproj 14KB
dclsgcWebSocketsC2007.cbproj 8KB
dclsgcWebSocketsCXE4.cbproj 8KB
dclsgcWebSocketsCXE3.cbproj 8KB
dclsgcWebSocketsCXE2.cbproj 8KB
dclsgcWebSocketsC2010.cbproj 8KB
dclsgcWebSocketsCXE.cbproj 8KB
sgcWebSocketsD7.cfg 635B
dclsgcWebSocketsD7.cfg 551B
sgcWebSocketsD2006.cfg 504B
dclsgcWebSocketsD2006.cfg 489B
sgcWebSocketsCXE2.cpp 522B
dclsgcWebSocketsCXE.cpp 522B
dclsgcWebSocketsCXE3.cpp 522B
dclsgcWebSocketsC2010.cpp 522B
sgcWebSocketsCXE4.cpp 522B
sgcWebSocketsC2007.cpp 522B
dclsgcWebSocketsCXE4.cpp 522B
sgcWebSocketsCXE.cpp 522B
dclsgcWebSocketsCXE2.cpp 522B
sgcWebSocketsC2010.cpp 522B
sgcWebSocketsCXE3.cpp 522B
dclsgcWebSocketsC2007.cpp 522B
dclsgcWebSocketsC10_2.cpp 498B
sgcWebSocketsC10_1.cpp 498B
sgcWebSocketsCXE7.cpp 498B
sgcWebSocketsCXE6.cpp 498B
dclsgcWebSocketsCXE8.cpp 498B
sgcWebSocketsC10_4.cpp 498B
dclsgcWebSocketsC10_1.cpp 498B
sgcWebSocketsCXE8.cpp 498B
dclsgcWebSocketsCXE5.cpp 498B
dclsgcWebSocketsCXE7.cpp 498B
sgcWebSocketsC10_3.cpp 498B
dclsgcWebSocketsC10_3.cpp 498B
dclsgcWebSocketsC10_4.cpp 498B
dclsgcWebSocketsCXE6.cpp 498B
sgcWebSocketsCXE5.cpp 498B
dclsgcWebSocketsC10.cpp 498B
sgcWebSocketsC10.cpp 498B
sgcWebSocketsC10_2.cpp 498B
apprtc.esegece.com.css 6KB
sgcwebsocket.dcr 88KB
sgcWebSocketsD7.dof 3KB
sgcWebSocketsD10.dpk 12KB
sgcWebSocketsD10_1.dpk 12KB
sgcWebSocketsDXE7.dpk 12KB
sgcWebSocketsDXE5.dpk 12KB
sgcWebSocketsDXE6.dpk 12KB
sgcWebSocketsDXE8.dpk 12KB
sgcWebSocketsD10_2.dpk 11KB
sgcWebSocketsDXE2.dpk 11KB
sgcWebSocketsDXE4.dpk 11KB
sgcWebSocketsDXE3.dpk 11KB
共 749 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
0x0007
- 粉丝: 1735
- 资源: 416
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- mongodb数据库基本操作.pdf
- C#,布尔可满足性问题(Boolean Satisfiability Problem)算法与源代码
- C#,回文分割问题(Palindrome Partitioning Problem)算法与源代码
- C#,煎饼排序问题(Pancake Sorting Problem)算法与源代码
- C#,排列组合的堆生成法(Heap’s Algorithm for generating permutations)算法与源代码
- C#,老鼠迷宫问题的回溯法求解(Rat in a Maze)算法与源代码
- 6693eeb8d683458a07938615fba9e68f.apk
- C#,数值计算,解微分方程的龙格-库塔二阶方法与源代码
- C#,数值计算,用割线法(Secant Method)求方程根的算法与源代码
- C#,子集和问题(Subset Sum Problem)的算法与源代码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页