BlitzMax/Modules/Miscellaneous/ZLib compression

This module wraps the zlib compression library. See zlib Manual: Utility Functions for more information.

=Functions=

compress
Function compress( dest:Byte Ptr,dest_len Var,source:Byte Ptr,source_len )

Description: Compress a block of data at default compression level

compress2
Function compress2( dest:Byte Ptr,dest_len Var,source:Byte Ptr,source_len,level )

Description: Compress a block of data at specified compression level

uncompress
Function uncompress( dest:Byte Ptr,dest_len Var,source:Byte Ptr,source_len )

Description: Uncompress a block of data