source

z_compression

20240724.0.0

Standalone version of the Zlib Deflate compression algorithm

20240724.0.0

Z_Compression

Standalone version of the Zlib Deflate compression algorithm, derived from de Montmollin's Zip-Ada

Z_Compression.Compress applies Deflate to an input stream of bytes, defined by its generic formal subprograms Out_Of_Data and Next, producing an output stream of bytes that are passed to the generic formal procedure Put. The output may be in Zlib or raw Deflate formats.

ZC_Test is a test/demo program for Z_Compression. Building it should also compile Z_Compression. It is invoked as

zc_test <file name>

No error checking or handling is done. It compresses the given file into a Zlib format file. The output file name is the input file name with ".zc" appended.