TarInputStream.Read Method

SharpZip Compression Library

SharpZip Compression Library

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 appropriately

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

Parameters

outputBuffer
The buffer into which to place bytes read.
offset
The offset at which to place bytes read.
count
The number of bytes to read.

Return Value

The number of bytes read, or 0 at end of stream/EOF.

See Also

TarInputStream Class | ICSharpCode.SharpZipLib.Tar Namespace