Reads a block of bytes from the current zip entry.
[Visual Basic]
Overrides Public Function Read( _
ByVal b As Byte(), _
ByVal off As Integer, _
ByVal len As Integer _
) As Integer
[C#]
public override int Read(
byte[] b,
int off,
int len
);
Return Value
the number of bytes read (may be smaller, even before EOF), or -1 on EOF.
Exceptions
Exception Type | Condition |
---|---|
IOException if a i/o error occured. ZipException if the deflated stream is corrupted. |
See Also
ZipInputStream Class | ZipInputStream Members | ICSharpCode.SharpZipLib.Zip Namespace