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)
38
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(value,
_endInSuperStream
);
52
if ((ulong)(_positionInSuperStream + count) > (ulong)
_endInSuperStream
)
54
count = Math.Max(0, (int)(
_endInSuperStream
- _positionInSuperStream));
89
SeekOrigin.End =>
_endInSuperStream
+ offset,
System\Formats\Tar\SubReadStream.cs (6)
43
return
_endInSuperStream
- _startInSuperStream;
71
if (!_hasReachedEnd && _positionInSuperStream >
_endInSuperStream
)
114
if (_positionInSuperStream + count >
_endInSuperStream
)
116
count = (int)(
_endInSuperStream
- _positionInSuperStream);
161
if (_positionInSuperStream >
_endInSuperStream
- buffer.Length)
163
buffer = buffer.Slice(0, (int)(
_endInSuperStream
- _positionInSuperStream));