1 write to _realSize
System.Formats.Tar (1)
System\Formats\Tar\GnuSparseStream.cs (1)
52_realSize = realSize;
12 references to _realSize
System.Formats.Tar (12)
System\Formats\Tar\GnuSparseStream.cs (12)
79if (offset < previousEnd || offset > _realSize || length > _realSize - offset) 108return _realSize; 145SeekOrigin.End => _realSize + offset, 169if (destination.IsEmpty || _virtualPosition >= _realSize) 174int toRead = (int)Math.Min(destination.Length, _realSize - _virtualPosition); 207if (buffer.IsEmpty || _virtualPosition >= _realSize) 220int toRead = (int)Math.Min(buffer.Length, _realSize - _virtualPosition); 231long nextSegStart = ~segIdx < _segments.Length ? _segments[~segIdx].Offset : _realSize; 324if (destination.Length < _realSize) 326destination.SetLength(_realSize); 329_virtualPosition = _realSize;