Edit

Share via


TarEntry.DataOffset Property

Definition

Gets the starting position of the data stream respective to the archive stream.

public:
 property long DataOffset { long get(); };
public long DataOffset { get; }
member this.DataOffset : int64
Public ReadOnly Property DataOffset As Long

Property Value

A number that represents a position in a stream.

Remarks

If the entry does not come from an archive stream or if the archive stream is not seekable, returns -1.

The position value returned by this property is relative to the absolute start of the archive stream, independent of where the tar archive begins.

Applies to