Std memory databuffer compress
std:std.memory.DataBuffer.Compress
Method Compress:DataBuffer( compressionLevel:Int=-1 )#
Compresses data buffer.
The compressionLevel
parameter should be a value from 0 to 9 (inclusive), or -1 for default compression (currently 6).
A compreesion level of 1 gives best speed, 9 gives best compression.
This method prepends an 8 byte 'header' to the returned data.