TarInputStream Methods

The methods of the TarInputStream class are listed below. For a complete list of TarInputStream class members, see the TarInputStream Members topic.

Public Instance Methods

BeginRead (inherited from Stream)Select the method name to go to the Microsoft documentation.
BeginWrite (inherited from Stream)Select the method name to go to the Microsoft documentation.
Close Closes this stream. Calls the TarBuffer's close() method. The underlying stream is closed by the TarBuffer.
CopyEntryContents Copies the contents of the current tar archive entry directly into an output stream.
CreateObjRef (inherited from MarshalByRefObject)Select the method name to go to the Microsoft documentation.
EndRead (inherited from Stream)Select the method name to go to the Microsoft documentation.
EndWrite (inherited from Stream)Select the method name to go to the Microsoft documentation.
Equals (inherited from Object)Select the method name to go to the Microsoft documentation.
Flush Flushes the baseInputStream
GetHashCode (inherited from Object)Select the method name to go to the Microsoft documentation.
GetLifetimeService (inherited from MarshalByRefObject)Select the method name to go to the Microsoft documentation.
GetNextEntry Get the next entry in this tar archive. This will skip over any remaining data in the current entry, if there is one, and place the input stream at the header of the next entry, and read the header and instantiate a new TarEntry from the header bytes and return that entry. If there are no more entries in the archive, null will be returned to indicate that the end of the archive has been reached.
GetRecordSize Get the record size being used by this stream's TarBuffer.
GetType (inherited from Object)Select the method name to go to the Microsoft documentation.
InitializeLifetimeService (inherited from MarshalByRefObject)Select the method name to go to the Microsoft documentation.
Mark Since we do not support marking just yet, we do nothing.
Read 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
ReadByte Reads a byte from the current tar archive entry. This method simply calls read(byte[], int, int).
Reset Since we do not support marking just yet, we do nothing.
Seek I needed to implement the abstract member.
SetBufferDebug
SetDebug
SetEntryFactory
SetLength I needed to implement the abstract member.
Skip Skip bytes in the input buffer. This skips bytes in the current entry's data, not the entire archive, and will stop at the end of the current entry's data if the number to skip extends beyond that point.
ToString (inherited from Object)Select the method name to go to the Microsoft documentation.
Write I needed to implement the abstract member.
WriteByte I needed to implement the abstract member.

Protected Instance Methods

CreateWaitHandle (inherited from Stream)Select the method name to go to the Microsoft documentation.
Finalize (inherited from Object)Select the method name to go to the Microsoft documentation.
MemberwiseClone (inherited from Object)Select the method name to go to the Microsoft documentation.

Explicit Interface Implementations

IDisposable.Dispose (inherited from Stream)Select the method name to go to the Microsoft documentation.

See Also

TarInputStream Class | ICSharpCode.SharpZipLib.Tar Namespace