5 writes to _compressedSize
System.IO.Compression (5)
System\IO\Compression\ZipArchiveEntry.Async.cs (1)
383
_compressedSize
= 0;
System\IO\Compression\ZipArchiveEntry.cs (4)
72
_compressedSize
= cd.CompressedSize;
129
_compressedSize
= 0; // we don't know these yet
804
thisRef.
_compressedSize
= backing.Position - initialPosition;
1261
_compressedSize
= 0;
18 references to _compressedSize
System.IO.Compression (18)
System\IO\Compression\ZipArchiveEntry.Async.cs (1)
227
await _archive.ArchiveStream.ReadAtLeastAsync(_compressedBytes[_compressedBytes.Length - 1], (int)(
_compressedSize
% maxSingleBufferSize), throwOnEndOfStream: true, cancellationToken).ConfigureAwait(false);
System\IO\Compression\ZipArchiveEntry.cs (17)
203
return
_compressedSize
;
563
CompressedSize =
_compressedSize
,
569
compressedSizeTruncated = (uint)
_compressedSize
;
713
byte[][] compressedBytes = new byte[(
_compressedSize
/ maxSingleBufferSize) + 1][];
718
compressedBytes[compressedBytes.Length - 1] = new byte[
_compressedSize
% maxSingleBufferSize];
740
_archive.ArchiveStream.ReadAtLeast(_compressedBytes[_compressedBytes.Length - 1], (int)(
_compressedSize
% maxSingleBufferSize), throwOnEndOfStream: true);
844
Stream compressedStream = new SubReadStream(_archive.ArchiveStream, offsetOfCompressedData,
_compressedSize
);
984
if (offsetOfCompressedData +
_compressedSize
> _archive.ArchiveStream.Length)
995
if (
_compressedSize
> int.MaxValue)
1008
private bool AreSizesTooLarge =>
_compressedSize
> uint.MaxValue || _uncompressedSize > uint.MaxValue;
1112
CompressedSize =
_compressedSize
,
1120
compressedSizeTruncated = (uint)
_compressedSize
;
1365
compressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)
_compressedSize
;
1412
BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeCompressedSizeLocation..],
_compressedSize
);
1422
BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeCompressedSizeLocation),
_compressedSize
);
1450
BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.CompressedSize..],
_compressedSize
);
1457
BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.CompressedSize..], (uint)
_compressedSize
);