TarInputStream.Read Method

Reads bytes from the current tar archive entry. This method is aware of the boundaries of the current entry in the archive and will deal with them as if they entry in the archive and will deal with them as if they

[Visual Basic]
Overrides Public Function Read( _
   ByVal buf As Byte(), _
   ByVal offset As Integer, _
   ByVal numToRead As Integer _
) As Integer
[C#]
public override int Read(
   byte[] buf,
   int offset,
   int numToRead
);

Parameters

buf

The buffer into which to place bytes read.

offset

The offset at which to place bytes read.

numToRead

The number of bytes to read.

Return Value

The number of bytes read, or -1 at EOF.

See Also

TarInputStream Class | TarInputStream Members | ICSharpCode.SharpZipLib.Tar Namespace