PendingBuffer.Flush Method

SharpZip Compression Library

SharpZip Compression Library

PendingBuffer.Flush Method 

Flushes the pending buffer into the given output array. If the output array is to small, only a partial flush is done.

public int Flush(
   byte[] output,
   int offset,
   int length
);

Parameters

output
the output array;
offset
the offset into output array;
length
length the maximum number of bytes to store;

Exceptions

Exception Type Condition
IndexOutOfBoundsException if offset or length are invalid.

See Also

PendingBuffer Class | ICSharpCode.SharpZipLib.Zip.Compression Namespace