Deflater.Deflate Method (Byte[])

SharpZip Compression Library

SharpZip Compression Library

Deflater.Deflate Method (Byte[])

Deflates the current input block with to the given array.

public int Deflate(
   byte[] output
);

Parameters

output
The buffer where compressed data is stored

Return Value

The number of compressed bytes added to the output, or 0 if either needsInput() or finished() returns true or length is zero.

See Also

Deflater Class | ICSharpCode.SharpZipLib.Zip.Compression Namespace | Deflater.Deflate Overload List