This directory contains a Pascal (Delphi, Kylix) interface to the
zlib data compression library.
Directory listing
=================
zlibd32.mak makefile for Borland C++
example.pas usage example of zlib
zlibpas.pas the Pascal interface to zlib
readme.txt this file
Compatibility notes
===================
- Although the name "zlib" would have been more normal for the
zlibpas unit, this name is already taken by Borland's ZLib unit.
This is somehow unfortunate, because that unit is not a genuine
interface to the full-fledged zlib functionality, but a suite of
class wrappers around zlib streams. Other essential features,
such as checksums, are missing.
It would have been more appropriate for that unit to have a name
like "ZStreams", or something similar.
- The C and zlib-supplied types int, uInt, long, uLong, etc. are
translated directly into Pascal types of similar sizes (Integer,
LongInt, etc.), to avoid namespace pollution. In particular,
there is no conversion of unsigned int into a Pascal unsigned
integer. The Word type is non-portable and has the same size
(16 bits) both in a 16-bit and in a 32-bit environment, unlike
Integer. Even if there is a 32-bit Cardinal type, there is no
real need for unsigned int in zlib under a 32-bit environment.
- Except for the callbacks, the zlib function interfaces are
assuming the calling convention normally used in Pascal
(__pascal for DOS and Windows16, __fastcall for Windows32).
Since the cdecl keyword is used, the old Turbo Pascal does
not work with this interface.
- The gz* function interfaces are not translated, to avoid
interfacing problems with the C runtime library. Besides,
gzprintf(gzFile file, const char *format, ...)
cannot be translated into Pascal.
Legal issues
============
The zlibpas interface is:
Copyright (C) 1995-2003 Jean-loup Gailly and Mark Adler.
Copyright (C) 1998 by Bob Dellaca.
Copyright (C) 2003 by Cosmin Truta.
The example program is:
Copyright (C) 1995-2003 by Jean-loup Gailly.
Copyright (C) 1998,1999,2000 by Jacques Nomssi Nzali.
Copyright (C) 2003 by Cosmin Truta.
This software is provided 'as-is', without any express or implied
warranty. In no event will the author be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
使用Zlib库中的MinZip库进行压缩与解压缩 (242个子文件)
miniunzip.1 2KB
minizip.1 1KB
zlib.3 4KB
configure.ac 786B
zlib.adb 20KB
test.adb 13KB
zlib-streams.adb 6KB
mtest.adb 4KB
read.adb 4KB
buffer_demo.adb 4KB
zlib-thin.adb 3KB
zlib-thin.ads 15KB
zlib.ads 13KB
zlib-streams.ads 4KB
Makefile.am 818B
bndsrc 4KB
Makefile.bor 3KB
Makefile.bor 2KB
DotZLib.build 1KB
deflate.c 79KB
unzip.c 66KB
zip.c 63KB
inflate.c 54KB
gzlog.c 41KB
trees.c 40KB
puff.c 37KB
crc32.c 31KB
gun.c 25KB
enough.c 24KB
infcover.c 24KB
infback.c 22KB
gznorm.c 22KB
infback9.c 21KB
zran.c 21KB
gzread.c 19KB
gzwrite.c 19KB
blast.c 18KB
miniunz.c 17KB
gzappend.c 17KB
untgz.c 16KB
gzlib.c 16KB
example.c 15KB
minizip.c 15KB
minigzip.c 14KB
gzjoin.c 14KB
iowin32.c 13KB
inftree9.c 13KB
inftrees.c 13KB
inffast.c 13KB
fitblk.c 8KB
mztools.c 8KB
ioapi.c 8KB
testzlib.c 7KB
zutil.c 7KB
zpipe.c 6KB
adler32.c 5KB
pufftest.c 5KB
uncompr.c 3KB
compress.c 3KB
gzclose.c 668B
zfstream.cc 13KB
test.cc 1KB
ChangeLog 81KB
DotZLib.chm 71KB
zconf.h.cmakein 16KB
zlib.pc.cmakein 294B
make_vms.com 26KB
make_vms.com 901B
configure 27KB
README.contrib 2KB
zfstream.cpp 5KB
zstream_test.cpp 711B
test.cpp 526B
GZipStream.cs 11KB
DotZLib.cs 10KB
ChecksumImpl.cs 8KB
UnitTests.cs 8KB
CodecBase.cs 6KB
Deflater.cs 4KB
Inflater.cs 4KB
AssemblyInfo.cs 2KB
CircularBuffer.cs 2KB
DotZLib.csproj 5KB
zlibvc.def 7KB
zlibvc.def 7KB
zlibvc.def 7KB
zlibvc.def 7KB
zlibvc.def 7KB
zlib.def 2KB
zlib.def 778B
Makefile.dj2 3KB
Makefile.emx 1KB
Makefile.emx 1KB
README.examples 2KB
FAQ 16KB
zlibvc.vcxproj.filters 4KB
zlibstat.vcxproj.filters 2KB
testzlib.vcxproj.filters 2KB
testzlibdll.vcxproj.filters 919B
miniunz.vcxproj.filters 917B
共 242 条
- 1
- 2
- 3
资源评论
森明帮大于黑虎帮
- 粉丝: 4w+
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功