BlitzMax/Modules/Miscellaneous/ZLib compression
Appearance
This module wraps the zlib compression library. See zlib Manual: Utility Functions for more information.
Functions
[edit | edit source]compress
[edit | edit source]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 | edit source]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 | edit source]Function uncompress( dest:Byte Ptr,dest_len Var,source:Byte Ptr,source_len )
Description: Uncompress a block of data