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