4 writes to _compressedSize
System.IO.Compression (4)
System\IO\Compression\ZipArchiveEntry.cs (4)
65
_compressedSize
= cd.CompressedSize;
123
_compressedSize
= 0; // we don't know these yet
704
thisRef.
_compressedSize
= backing.Position - initialPosition;
1056
_compressedSize
= 0;
20 references to _compressedSize
System.IO.Compression (20)
System\IO\Compression\ZipArchiveEntry.cs (20)
181
return
_compressedSize
;
510
zip64ExtraField.CompressedSize =
_compressedSize
;
515
compressedSizeTruncated = (uint)
_compressedSize
;
637
_compressedBytes = new byte[(
_compressedSize
/ MaxSingleBufferSize) + 1][];
642
_compressedBytes[_compressedBytes.Length - 1] = new byte[
_compressedSize
% MaxSingleBufferSize];
650
ZipHelper.ReadBytes(_archive.ArchiveStream, _compressedBytes[_compressedBytes.Length - 1], (int)(
_compressedSize
% MaxSingleBufferSize));
740
Stream compressedStream = new SubReadStream(_archive.ArchiveStream, OffsetOfCompressedData,
_compressedSize
);
830
if (OffsetOfCompressedData +
_compressedSize
> _archive.ArchiveStream.Length)
841
if (
_compressedSize
> int.MaxValue)
855
private bool AreSizesTooLarge =>
_compressedSize
> uint.MaxValue || _uncompressedSize > uint.MaxValue;
924
Debug.Assert(
_compressedSize
== 0);
956
zip64ExtraField.CompressedSize =
_compressedSize
;
964
compressedSizeTruncated = (uint)
_compressedSize
;
1081
if (
_compressedSize
!= 0)
1083
_archive.ArchiveStream.Seek(
_compressedSize
, SeekOrigin.Current);
1112
uint compressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)
_compressedSize
;
1170
BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeCompressedSizeLocation..],
_compressedSize
);
1188
BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeCompressedSizeLocation..],
_compressedSize
);
1212
BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.CompressedSize..],
_compressedSize
);
1219
BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.CompressedSize..], (uint)
_compressedSize
);