Method Gz.deflate()->deflate()
- Method
deflate
string(8bit)deflate(string(8bit)|String.Buffer|System.Memory|Stdio.Bufferdata,int|voidflush)- Description
This function performs gzip style compression on a string
dataand returns the packed data. Streaming can be done by calling this function several times and concatenating the returned data.The optional argument
flushshould be one of the following:Gz.NO_FLUSHOnly data that doesn't fit in the internal buffers is returned.
Gz.PARTIAL_FLUSHAll input is packed and returned.
Gz.SYNC_FLUSHAll input is packed and returned.
Gz.FINISHAll input is packed and an 'end of data' marker is appended (default).
- See also