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 804thisRef._compressedSize = backing.Position - initialPosition; 1265_compressedSize = 0;
19 references to _compressedSize
System.IO.Compression (19)
System\IO\Compression\ZipArchiveEntry.Async.cs (1)
227await _archive.ArchiveStream.ReadAtLeastAsync(_compressedBytes[_compressedBytes.Length - 1], (int)(_compressedSize % maxSingleBufferSize), throwOnEndOfStream: true, cancellationToken).ConfigureAwait(false);
System\IO\Compression\ZipArchiveEntry.cs (18)
203return _compressedSize; 563CompressedSize = _compressedSize, 569compressedSizeTruncated = (uint)_compressedSize; 713byte[][] compressedBytes = new byte[(_compressedSize / maxSingleBufferSize) + 1][]; 718compressedBytes[compressedBytes.Length - 1] = new byte[_compressedSize % maxSingleBufferSize]; 740_archive.ArchiveStream.ReadAtLeast(_compressedBytes[_compressedBytes.Length - 1], (int)(_compressedSize % maxSingleBufferSize), throwOnEndOfStream: true); 844Stream compressedStream = new SubReadStream(_archive.ArchiveStream, offsetOfCompressedData, _compressedSize); 987_compressedSize < 0 || 988_compressedSize > _archive.ArchiveStream.Length - offsetOfCompressedData) 999if (_compressedSize > int.MaxValue) 1012private bool AreSizesTooLarge => _compressedSize > uint.MaxValue || _uncompressedSize > uint.MaxValue; 1116CompressedSize = _compressedSize, 1124compressedSizeTruncated = (uint)_compressedSize; 1369compressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)_compressedSize; 1416BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeCompressedSizeLocation..], _compressedSize); 1426BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeCompressedSizeLocation), _compressedSize); 1454BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.CompressedSize..], _compressedSize); 1461BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.CompressedSize..], (uint)_compressedSize);