BZip2InputStream.Read Method

SharpZip Compression Library

SharpZip Compression Library

BZip2InputStream.Read Method 

Read a sequence of bytes and advances the read position by one byte.

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

Parameters

b
Array of bytes to store values in
offset
Offset in array to begin storing data
count
The maximum number of bytes to read

Return Value

The total number of bytes read into the buffer. This might be less than the number of bytes requested if that number of bytes are not currently available or zero if the end of the stream is reached.

See Also

BZip2InputStream Class | ICSharpCode.SharpZipLib.BZip2 Namespace