TarInputStream Members

Public Instance Constructors

TarInputStreamOverloaded. Initialize a new instance of the TarInputStream class.

Public Instance Properties

Available Get the available data that can be read from the current entry in the archive. This does not indicate how much data is left in the entire archive, only in the current entry. This value is determined from the entry's size header field and the amount of data already read from the current entry.
CanRead I needed to implement the abstract member.
CanSeek I needed to implement the abstract member.
CanWrite I needed to implement the abstract member.
IsMarkSupported Since we do not support marking just yet, we return false.
Length I needed to implement the abstract member.
Position I needed to implement the abstract member.

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 Fields

buffer
currEntry
debug
eFactory
entryOffset
entrySize
hasHitEOF
readBuf

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