5 writes to _compressedSize
System.IO.Compression (5)
System\IO\Compression\ZipArchiveEntry.Async.cs (1)
312
_compressedSize
= 0;
System\IO\Compression\ZipArchiveEntry.cs (4)
71
_compressedSize
= cd.CompressedSize;
128
_compressedSize
= 0; // we don't know these yet
737
thisRef.
_compressedSize
= backing.Position - initialPosition;
1122
_compressedSize
= 0;
23 references to _compressedSize
System.IO.Compression (23)
System\IO\Compression\ZipArchiveEntry.Async.cs (3)
177
await ZipHelper.ReadBytesAsync(_archive.ArchiveStream, _compressedBytes[_compressedBytes.Length - 1], (int)(
_compressedSize
% maxSingleBufferSize), cancellationToken).ConfigureAwait(false);
337
if (
_compressedSize
!= 0)
339
_archive.ArchiveStream.Seek(
_compressedSize
, SeekOrigin.Current);
System\IO\Compression\ZipArchiveEntry.cs (20)
186
return
_compressedSize
;
505
CompressedSize =
_compressedSize
,
511
compressedSizeTruncated = (uint)
_compressedSize
;
656
byte[][] compressedBytes = new byte[(
_compressedSize
/ maxSingleBufferSize) + 1][];
661
compressedBytes[compressedBytes.Length - 1] = new byte[
_compressedSize
% maxSingleBufferSize];
683
ZipHelper.ReadBytes(_archive.ArchiveStream, _compressedBytes[_compressedBytes.Length - 1], (int)(
_compressedSize
% maxSingleBufferSize));
777
Stream compressedStream = new SubReadStream(_archive.ArchiveStream, offsetOfCompressedData,
_compressedSize
);
890
if (offsetOfCompressedData +
_compressedSize
> _archive.ArchiveStream.Length)
901
if (
_compressedSize
> int.MaxValue)
914
private bool AreSizesTooLarge =>
_compressedSize
> uint.MaxValue || _uncompressedSize > uint.MaxValue;
978
Debug.Assert(
_compressedSize
== 0);
1010
CompressedSize =
_compressedSize
,
1018
compressedSizeTruncated = (uint)
_compressedSize
;
1147
if (
_compressedSize
!= 0)
1149
_archive.ArchiveStream.Seek(
_compressedSize
, SeekOrigin.Current);
1222
compressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)
_compressedSize
;
1269
BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeCompressedSizeLocation..],
_compressedSize
);
1279
BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeCompressedSizeLocation),
_compressedSize
);
1307
BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.CompressedSize..],
_compressedSize
);
1314
BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.CompressedSize..], (uint)
_compressedSize
);