InflaterInputStream.Read Method

SharpZip Compression Library

SharpZip Compression Library

InflaterInputStream.Read Method 

Decompresses data into the byte array

public override int Read(
   byte[] b,
   int off,
   int len
);

Parameters

b
The array to read and decompress data into
off
The offset indicating where the data should be placed
len
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