6 writes to _positionInSuperStream
System.Formats.Tar (6)
System\Formats\Tar\SeekableSubReadStream.cs (3)
39
_positionInSuperStream
= _startInSuperStream + value;
63
_positionInSuperStream
+= bytesRead;
98
_positionInSuperStream
= newPositionInSuperStream;
System\Formats\Tar\SubReadStream.cs (3)
31
_positionInSuperStream
= startPosition;
124
_positionInSuperStream
+= ret;
168
_positionInSuperStream
+= ret;
13 references to _positionInSuperStream
System.Formats.Tar (13)
System\Formats\Tar\SeekableSubReadStream.cs (7)
32
return
_positionInSuperStream
- _startInSuperStream;
52
if ((ulong)(
_positionInSuperStream
+ count) > (ulong)_endInSuperStream)
54
count = Math.Max(0, (int)(_endInSuperStream -
_positionInSuperStream
));
88
SeekOrigin.Current =>
_positionInSuperStream
+ offset,
100
return
_positionInSuperStream
- _startInSuperStream;
105
if (
_positionInSuperStream
!= _superStream.Position)
109
_superStream.Seek(
_positionInSuperStream
, SeekOrigin.Begin);
System\Formats\Tar\SubReadStream.cs (6)
52
return
_positionInSuperStream
- _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
));