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.

[Visual Basic]
Public Function Flush( _
   ByVal output As Byte(), _
   ByVal offset As Integer, _
   ByVal length As Integer _
) As Integer
[C#]
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 TypeCondition
IndexOutOfBoundsException if offset or length are invalid.

See Also

PendingBuffer Class | PendingBuffer Members | ICSharpCode.SharpZipLib.Zip.Compression Namespace