BlitzMax/Modules/Miscellaneous/ZLib compression

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

Functions

edit

compress

edit

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

Description: Compress a block of data at default compression level

compress2

edit

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

edit

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

Description: Uncompress a block of data