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, 168if (destination.IsEmpty || _virtualPosition >= _realSize) 173int toRead = (int)Math.Min(destination.Length, _realSize - _virtualPosition); 206if (buffer.IsEmpty || _virtualPosition >= _realSize) 219int toRead = (int)Math.Min(buffer.Length, _realSize - _virtualPosition); 230long nextSegStart = ~segIdx < _segments.Length ? _segments[~segIdx].Offset : _realSize; 323if (destination.Length < _realSize) 325destination.SetLength(_realSize); 328_virtualPosition = _realSize;