1 write to _packedStartOffsets
System.Formats.Tar (1)
System\Formats\Tar\GnuSparseStream.cs (1)
81
_packedStartOffsets
= new long[segments.Length];
9 references to _packedStartOffsets
System.Formats.Tar (9)
System\Formats\Tar\GnuSparseStream.cs (9)
95
_packedStartOffsets
[i] = sum;
180
Debug.Assert(_segments is not null &&
_packedStartOffsets
is not null);
212
long packedOffset =
_packedStartOffsets
[segIdx] + offsetInSeg;
250
Debug.Assert(_segments is not null &&
_packedStartOffsets
is not null);
275
long packedOffset =
_packedStartOffsets
[segIdx] + offsetInSeg;
302
Debug.Assert(_segments is not null &&
_packedStartOffsets
is not null);
320
int bytesRead = ReadFromPackedData(buffer.AsSpan(0, toRead),
_packedStartOffsets
[i] + written);
350
Debug.Assert(_segments is not null &&
_packedStartOffsets
is not null);
368
int bytesRead = await ReadFromPackedDataAsync(buffer.AsMemory(0, toRead),
_packedStartOffsets
[i] + written, cancellationToken).ConfigureAwait(false);