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 803thisRef._compressedSize = backing.Position - initialPosition; 1224_compressedSize = 0;
22 references to _compressedSize
System.IO.Compression (22)
System\IO\Compression\ZipArchiveEntry.Async.cs (3)
227await _archive.ArchiveStream.ReadAtLeastAsync(_compressedBytes[_compressedBytes.Length - 1], (int)(_compressedSize % maxSingleBufferSize), throwOnEndOfStream: true, cancellationToken).ConfigureAwait(false); 408if (_compressedSize != 0) 410_archive.ArchiveStream.Seek(_compressedSize, SeekOrigin.Current);
System\IO\Compression\ZipArchiveEntry.cs (19)
202return _compressedSize; 562CompressedSize = _compressedSize, 568compressedSizeTruncated = (uint)_compressedSize; 712byte[][] compressedBytes = new byte[(_compressedSize / maxSingleBufferSize) + 1][]; 717compressedBytes[compressedBytes.Length - 1] = new byte[_compressedSize % maxSingleBufferSize]; 739_archive.ArchiveStream.ReadAtLeast(_compressedBytes[_compressedBytes.Length - 1], (int)(_compressedSize % maxSingleBufferSize), throwOnEndOfStream: true); 843Stream compressedStream = new SubReadStream(_archive.ArchiveStream, offsetOfCompressedData, _compressedSize); 981if (offsetOfCompressedData + _compressedSize > _archive.ArchiveStream.Length) 992if (_compressedSize > int.MaxValue) 1005private bool AreSizesTooLarge => _compressedSize > uint.MaxValue || _uncompressedSize > uint.MaxValue; 1100CompressedSize = _compressedSize, 1108compressedSizeTruncated = (uint)_compressedSize; 1249if (_compressedSize != 0) 1251_archive.ArchiveStream.Seek(_compressedSize, SeekOrigin.Current); 1324compressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)_compressedSize; 1371BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeCompressedSizeLocation..], _compressedSize); 1381BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeCompressedSizeLocation), _compressedSize); 1409BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.CompressedSize..], _compressedSize); 1416BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.CompressedSize..], (uint)_compressedSize);