|
|
|
with Zip_Streams; use Zip_Streams; with Zip.Create; use Zip.Create; procedure Demo_zip is zip_file : aliased File_ZipStream; -- Archive is a file archive : Zip_Create_info; begin Create (archive, zip_file'Unchecked_Access, "mini_zip.zip" ); Add_File(archive, "demo_zip.adb"); Add_File(archive, "demo_unzip.adb"); Add_String(archive, "==== Hello world! ====" & ASCII.LF & "It is such a nice ""Hello world""-like demo, isn't it ?", "nice_string.txt" ); Finish (archive); end Demo_zip; |
|
Browse the source (of version 44)
|
| OS | CPU | Compiler |
| OpenVMS | Intel Itanium (64 bit)
| GNU - GNAT |
| AIX | Power7 (64 bit)
| |
| MS Windows 9x;NT,2K,XP+ | Intel x86 (32 bit) | |
| MS Windows x64 | Intel x64 (64 bit) | |
| Linux | Intel x86 (32 bit) | |
| Linux | Intel x86_64 (64 bit)
| |
| Linux on PS3 | Cell (64 bit)
| |
| Linux on Raspberry Pi | ARM
| |
| Mac OS X | PowerPC (64 bit) | |
| Mac OS X | Intel x64 (64 bit) | |
| Solaris | SPARC (32 or 64 bit) | |
| Solaris | Intel x64 (64 bit) | |
| MS-DOS, DR-DOS (Novell) | Intel x86 (16/32 bit) | |
| OpenBSD | (one of several) | |
| FreeBSD | Intel x86 (32 bit) | |
| FreeBSD | Intel x64 (64 bit) | |
| Android 2.3+ | ARM
| |
| MS Windows 9x;NT,2K,XP+ | Intel x86 (32 bit) | Atego - ObjectAda |
| MS Windows 9x;NT,2K,XP+ | Intel x86 (32 bit) | RR Software - Janus/Ada |
| MS Windows NT+ | Intel x86 (32 bit) | SofCheck - AdaMagic |
| MS Windows NT+ | Intel x64 (64 bit) | |
| Linux | Intel x86 (32 bit) | |
| Mac OS X | PowerPC (64 bit) | |
| Mac OS X | Intel x64 (64 bit) | |
| Solaris | SPARC (32 or 64 bit) | |
| Solaris | Intel x64 (64 bit) |
| |
Zip-Ada | |
Other software… | Info-Zip | |||||
| Format | Format # | Compress | Decompress | PKZip | WinZip | UnZip | Zip | ||
| store | 0 | v.22 | v.4 | ||||||
| shrink | 1 | v.22 | v.4 | ||||||
| reduce 1..4 | 2..5 | v.29 | v.4 | ||||||
| implode | 6 | v.4 | |||||||
| deflate | 8 | v.40 | v.4 | v.2.0 |
v.2.0 |
||||
| enhanced deflate | 9 | v.30 | v.2.1 | v.9.0 | v.5.5 | ||||
| bzip2 | 12 | v.36 |
v.4.6 | v.10.0 | v.6.0 | v.3.0 | |||
| lzma | 14 | v.6.3 | v.12.0 | ||||||
| ppmd | 98 | v.6.3 | v.10.0 | ||||||

|
|