7 references to GetStartOffset
System.IO.Packaging (7)
System\IO\Packaging\InterleavedZipPackagePartStream.cs (7)
69
Debug.Assert(_dir.
GetStartOffset
(GetCurrentPieceNumber()) == 0);
100
long pieceStreamRelativeOffset = _currentOffset - _dir.
GetStartOffset
(pieceNumber);
149
Debug.Assert(_dir.
GetStartOffset
(pieceNumber) == _currentOffset + totalBytesRead);
268
Debug.Assert(newLength - _dir.
GetStartOffset
(lastPieceNumber) >= 0);
269
long lastPieceStreamSize = newLength - _dir.
GetStartOffset
(lastPieceNumber);
329
pieceStream.Seek(_currentOffset - _dir.
GetStartOffset
(pieceNumber), SeekOrigin.Begin);
339
long maxPosition = _dir.
GetStartOffset
(pieceNumber + 1) - 1;