deflate
Compresses data using DEFLATE algorithm according to RFC 1951.
Return
the compressed data.
Parameters
data
the data to compress.
compressionLevel
must be between 0 and 9, both inclusive.
Throws
if compressionLevel isn't valid.
Compresses data using DEFLATE algorithm according to RFC 1951.
the compressed data.
the data to compress.
must be between 0 and 9, both inclusive.
if compressionLevel isn't valid.