TarBuffer Methods

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

Public Static (Shared) Methods

CreateInputTarBufferOverloaded.
CreateOutputTarBufferOverloaded.

Public Instance Methods

Close Close the TarBuffer. If this is an output buffer, also flush the current block before closing.
Equals (inherited from Object)Select the method name to go to the Microsoft documentation.
GetBlockSize Get the TAR Buffer's block size. Blocks consist of multiple records.
GetCurrentBlockNum Get the current block number, zero based.
GetCurrentRecordNum Get the current record number, within the current block, zero based. Thus, current offset = (currentBlockNum * recsPerBlk) + currentRecNum.
GetHashCode (inherited from Object)Select the method name to go to the Microsoft documentation.
GetRecordSize Get the TAR Buffer's record size.
GetType (inherited from Object)Select the method name to go to the Microsoft documentation.
IsEOFRecord Determine if an archive record indicate End of Archive. End of archive is indicated by a record that consists entirely of null bytes.
ReadRecord Read a record from the input stream and return the data.
SetDebug Set the debugging flag for the buffer.
SkipRecord Skip over a record on the input stream.
ToString (inherited from Object)Select the method name to go to the Microsoft documentation.
WriteRecordOverloaded. Write an archive record to the archive.

Protected Instance Methods

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.

See Also

TarBuffer Class | ICSharpCode.SharpZipLib.Tar Namespace