TarBuffer Methods

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

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 Methods

CreateInputTarBufferOverloaded. Create TarBuffer for reading with default BlockFactor
CreateOutputTarBufferOverloaded. Construct TarBuffer for writing with default BlockFactor

Public Instance Methods

Close Close the TarBuffer. If this is an output buffer, also flush the current block before closing.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetBlockFactorObsolete. Get the TAR Buffer's block factor
GetCurrentBlockNumObsolete. Get the current block number, within the current record, zero based.
GetCurrentRecordNumObsolete. Get the current record number.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetRecordSizeObsolete. Get the TAR Buffer's record size.
GetType (inherited from Object) Gets the Type of the current instance.
IsEOFBlock Determine if an archive block indicates End of Archive. End of archive is indicated by a block that consists entirely of null bytes. All remaining blocks for the record should also be null's However some older tars only do a couple of null blocks (Old GNU tar for one) and also partial records
ReadBlock Read a block from the input stream.
SkipBlock Skip over a block on the input stream.
ToString (inherited from Object) Returns a String that represents the current Object.
WriteBlockOverloaded. Write a block of data to the archive.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

TarBuffer Class | ICSharpCode.SharpZipLib.Tar Namespace