ZipInputStream.Read Method

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

ZipInputStream.Read Method 

Read a block of bytes from the stream.

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

Parameters

buffer
The destination for the bytes.
offset
The index to start storing data.
count
The number of bytes to attempt to read.

Return Value

Returns the number of bytes read.

Remarks

Zero bytes read means end of stream.

See Also

ZipInputStream Class | ICSharpCode.SharpZipLib.Zip Namespace