1 write to _realSize
System.Formats.Tar (1)
System\Formats\Tar\GnuSparseStream.cs (1)
52_realSize = realSize;
16 references to _realSize
System.Formats.Tar (16)
System\Formats\Tar\GnuSparseStream.cs (16)
89if (offset < previousEnd || offset > _realSize || length > _realSize - offset) 118return _realSize; 155SeekOrigin.End => _realSize + offset, 182if (destination.IsEmpty || _virtualPosition >= _realSize) 187int toRead = (int)Math.Min(destination.Length, _realSize - _virtualPosition); 199long nextSegStart = ~segIdx < _segments.Length ? _segments[~segIdx].Offset : _realSize; 240if (buffer.IsEmpty || _virtualPosition >= _realSize) 252int toRead = (int)Math.Min(buffer.Length, _realSize - _virtualPosition); 263long nextSegStart = ~segIdx < _segments.Length ? _segments[~segIdx].Offset : _realSize; 337if (destination.Length < _realSize) 339destination.SetLength(_realSize); 342_virtualPosition = _realSize; 383if (destination.Length < _realSize) 385destination.SetLength(_realSize); 388_virtualPosition = _realSize;