Skip to content
Andrew Lambert edited this page Oct 8, 2015 · 11 revisions

#zlib.Compress

##Method Signature

 Protected Function Compress(Data As MemoryBlock, CompressionLevel As Integer = Z_DEFAULT_COMPRESSION, DataSize As Integer = -1) As MemoryBlock

##Parameters

Name Type Comment
Data MemoryBlock The data to be compressed
CompressionLevel Integer Optional. The level of compression (fast=1, best=9)
DataSize Integer Optional. The size of the Data in bytes

##Return value The compressed data.

##Notes Compresses the passed MemoryBlock.

##See also

Entry-level points of interest denoted by "☜"



Clone this wiki locally