InflaterInputStream.Read Method

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

InflaterInputStream.Read Method 

Reads decompressed data into the provided buffer byte array

public override int Read(
   byte[] buffer,
   int offset,
   int count
);

Parameters

buffer
The array to read and decompress data into
offset
The offset indicating where the data should be placed
count
The number of bytes to decompress

Return Value

The number of bytes read. Zero signals the end of stream

Exceptions

Exception Type Condition
SharpZipBaseException Inflater needs a dictionary

See Also

InflaterInputStream Class | ICSharpCode.SharpZipLib.Zip.Compression.Streams Namespace