1 write to _endInSuperStream
System.Formats.Tar (1)
System\Formats\Tar\SubReadStream.cs (1)
32_endInSuperStream = startPosition + maxLength;
10 references to _endInSuperStream
System.Formats.Tar (10)
System\Formats\Tar\SeekableSubReadStream.cs (4)
38ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(value, _endInSuperStream); 52if ((ulong)(_positionInSuperStream + count) > (ulong)_endInSuperStream) 54count = Math.Max(0, (int)(_endInSuperStream - _positionInSuperStream)); 89SeekOrigin.End => _endInSuperStream + offset,
System\Formats\Tar\SubReadStream.cs (6)
43return _endInSuperStream - _startInSuperStream; 71if (!_hasReachedEnd && _positionInSuperStream > _endInSuperStream) 114if (_positionInSuperStream + count > _endInSuperStream) 116count = (int)(_endInSuperStream - _positionInSuperStream); 161if (_positionInSuperStream > _endInSuperStream - buffer.Length) 163buffer = buffer.Slice(0, (int)(_endInSuperStream - _positionInSuperStream));