5 writes to _compressedSize
System.IO.Compression (5)
System\IO\Compression\ZipArchiveEntry.Async.cs (1)
383
_compressedSize
= 0;
System\IO\Compression\ZipArchiveEntry.cs (4)
71
_compressedSize
= cd.CompressedSize;
128
_compressedSize
= 0; // we don't know these yet
803
thisRef.
_compressedSize
= backing.Position - initialPosition;
1226
_compressedSize
= 0;
22 references to _compressedSize
System.IO.Compression (22)
System\IO\Compression\ZipArchiveEntry.Async.cs (3)
227
await _archive.ArchiveStream.ReadAtLeastAsync(_compressedBytes[_compressedBytes.Length - 1], (int)(
_compressedSize
% maxSingleBufferSize), throwOnEndOfStream: true, cancellationToken).ConfigureAwait(false);
408
if (
_compressedSize
!= 0)
410
_archive.ArchiveStream.Seek(
_compressedSize
, SeekOrigin.Current);
System\IO\Compression\ZipArchiveEntry.cs (19)
202
return
_compressedSize
;
562
CompressedSize =
_compressedSize
,
568
compressedSizeTruncated = (uint)
_compressedSize
;
712
byte[][] compressedBytes = new byte[(
_compressedSize
/ maxSingleBufferSize) + 1][];
717
compressedBytes[compressedBytes.Length - 1] = new byte[
_compressedSize
% maxSingleBufferSize];
739
_archive.ArchiveStream.ReadAtLeast(_compressedBytes[_compressedBytes.Length - 1], (int)(
_compressedSize
% maxSingleBufferSize), throwOnEndOfStream: true);
843
Stream compressedStream = new SubReadStream(_archive.ArchiveStream, offsetOfCompressedData,
_compressedSize
);
983
if (offsetOfCompressedData +
_compressedSize
> _archive.ArchiveStream.Length)
994
if (
_compressedSize
> int.MaxValue)
1007
private bool AreSizesTooLarge =>
_compressedSize
> uint.MaxValue || _uncompressedSize > uint.MaxValue;
1102
CompressedSize =
_compressedSize
,
1110
compressedSizeTruncated = (uint)
_compressedSize
;
1251
if (
_compressedSize
!= 0)
1253
_archive.ArchiveStream.Seek(
_compressedSize
, SeekOrigin.Current);
1326
compressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)
_compressedSize
;
1373
BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeCompressedSizeLocation..],
_compressedSize
);
1383
BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeCompressedSizeLocation),
_compressedSize
);
1411
BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.CompressedSize..],
_compressedSize
);
1418
BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.CompressedSize..], (uint)
_compressedSize
);