4 writes to _currentOffset
WindowsBase (4)
Base\MS\Internal\IO\Packaging\InterleavedZipPartStream.cs (4)
149
_currentOffset
+= totalBytesRead;
194
_currentOffset
= offset;
237
_currentOffset
= newLength;
310
_currentOffset
+= totalBytesWritten;
11 references to _currentOffset
WindowsBase (11)
Base\MS\Internal\IO\Packaging\InterleavedZipPartStream.cs (11)
121
pieceStream.Seek(
_currentOffset
- _dir.GetStartOffset(pieceNumber), SeekOrigin.Begin);
137
Invariant.Assert(_dir.GetStartOffset(pieceNumber) ==
_currentOffset
+ totalBytesRead);
176
checked { offset +=
_currentOffset
; }
196
return
_currentOffset
;
235
if (
_currentOffset
> newLength)
270
pieceStream.Seek(
_currentOffset
- _dir.GetStartOffset(pieceNumber), SeekOrigin.Begin);
279
long currentPosition =
_currentOffset
+ totalBytesWritten;
422
return
_currentOffset
;
519
if (_offsetForCurrentPieceNumber !=
_currentOffset
)
522
_currentPieceNumber = _dir.GetPieceNumberFromOffset(
_currentOffset
);
523
_offsetForCurrentPieceNumber =
_currentOffset
;