Deflater.Deflate Method (Byte[])

Deflates the current input block to the given array. It returns the number of bytes compressed, or 0 if either needsInput() or finished() returns true or length is zero.

[Visual Basic]
Overloads Public Function Deflate( _
   ByVal output As Byte() _
) As Integer
[C#]
public int Deflate(
   byte[] output
);

Parameters

output

the buffer where to write the compressed data.

See Also

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