3 writes to _gnuSparseDataStream
System.Formats.Tar (3)
System\Formats\Tar\TarEntry.cs (1)
297
_header.
_gnuSparseDataStream
= null;
System\Formats\Tar\TarHeader.cs (1)
135
_gnuSparseDataStream
= other._gnuSparseDataStream;
System\Formats\Tar\TarHeader.Read.cs (1)
338
_gnuSparseDataStream
= new GnuSparseStream(_dataStream, _gnuSparseRealSize);
8 references to _gnuSparseDataStream
System.Formats.Tar (8)
System\Formats\Tar\TarEntry.cs (7)
122
public long Length => _header.
_gnuSparseDataStream
?.Length ?? (_header._dataStream is not null ? _header._dataStream.Length : _header._size);
271
get => (Stream?)_header.
_gnuSparseDataStream
?? _header._dataStream;
296
_header.
_gnuSparseDataStream
?.Dispose();
766
if (_header.
_gnuSparseDataStream
is GnuSparseStream { Position: 0 } sparseStream)
795
if (_header.
_gnuSparseDataStream
is GnuSparseStream { Position: 0 } sparseStream)
834
PreallocationSize = _header.
_gnuSparseDataStream
is null ? Length : 0,
838
if (_header.
_gnuSparseDataStream
is null && fileStreamOptions.PreallocationSize < fileStreamOptions.BufferSize)
System\Formats\Tar\TarHeader.cs (1)
135
_gnuSparseDataStream = other.
_gnuSparseDataStream
;