4 writes to _currentOffset
System.IO.Packaging (4)
System\IO\Packaging\InterleavedZipPackagePartStream.cs (4)
178
_currentOffset
+= totalBytesRead;
223
_currentOffset
= offset;
274
_currentOffset
= newLength;
385
_currentOffset
+= totalBytesWritten;
11 references to _currentOffset
System.IO.Packaging (11)
System\IO\Packaging\InterleavedZipPackagePartStream.cs (11)
100
long pieceStreamRelativeOffset =
_currentOffset
- _dir.GetStartOffset(pieceNumber);
149
Debug.Assert(_dir.GetStartOffset(pieceNumber) ==
_currentOffset
+ totalBytesRead);
203
checked { offset +=
_currentOffset
; }
225
return
_currentOffset
;
272
if (
_currentOffset
> newLength)
329
pieceStream.Seek(
_currentOffset
- _dir.GetStartOffset(pieceNumber), SeekOrigin.Begin);
338
long currentPosition =
_currentOffset
+ totalBytesWritten;
465
return
_currentOffset
;
531
if (_offsetForCurrentPieceNumber !=
_currentOffset
)
534
_currentPieceNumber = _dir.GetPieceNumberFromOffset(
_currentOffset
);
535
_offsetForCurrentPieceNumber =
_currentOffset
;