deflate

open fun deflate(source: InputStream, method: Int)

Deflate the given source using the supplied compression method

Parameters

source

The source to compress

method

The #ZipArchiveEntry compression method

Throws

When failures happen