9 writes to _compressedSize
System.IO.Compression (9)
System\IO\Compression\ZipArchiveEntry.Async.cs (3)
783_compressedSize = _archive.ArchiveStream.Position - startPosition; 857_compressedSize = _archive.ArchiveStream.Position - startPosition; 885_compressedSize = 0;
System\IO\Compression\ZipArchiveEntry.cs (6)
119_compressedSize = cd.CompressedSize; 175_compressedSize = 0; // we don't know these yet 1037thisRef._compressedSize = backing.Position - initialPosition; 1822_compressedSize = _archive.ArchiveStream.Position - startPosition; 1870_compressedSize = _archive.ArchiveStream.Position - startPosition; 1894_compressedSize = 0;
25 references to _compressedSize
System.IO.Compression (25)
System\IO\Compression\ZipArchiveEntry.Async.cs (6)
275Stream compressedStream = new SubReadStream(_archive.ArchiveStream, offset, _compressedSize); 283totalStreamSize: _compressedSize, 486await _archive.ArchiveStream.ReadAtLeastAsync(_compressedBytes[_compressedBytes.Length - 1], (int)(_compressedSize % maxSingleBufferSize), throwOnEndOfStream: true, cancellationToken).ConfigureAwait(false); 575Stream compressedStream = new SubReadStream(_archive.ArchiveStream, offset, _compressedSize); 592Stream compressedStream = new SubReadStream(_archive.ArchiveStream, offset, _compressedSize); 597totalStreamSize: _compressedSize,
System\IO\Compression\ZipArchiveEntry.cs (19)
269return _compressedSize; 764CompressedSize = _compressedSize, 770compressedSizeTruncated = (uint)_compressedSize; 944byte[][] compressedBytes = new byte[(_compressedSize / maxSingleBufferSize) + 1][]; 949compressedBytes[compressedBytes.Length - 1] = new byte[_compressedSize % maxSingleBufferSize]; 971_archive.ArchiveStream.ReadAtLeast(_compressedBytes[_compressedBytes.Length - 1], (int)(_compressedSize % maxSingleBufferSize), throwOnEndOfStream: true); 1103totalStreamSize: _compressedSize, 1156Stream compressedStream = new SubReadStream(_archive.ArchiveStream, offsetOfCompressedData, _compressedSize); 1496_compressedSize < 0 || 1497_compressedSize > _archive.ArchiveStream.Length - offsetOfCompressedData) 1508if (_compressedSize > int.MaxValue) 1521private bool AreSizesTooLarge => _compressedSize > uint.MaxValue || _uncompressedSize > uint.MaxValue; 1645CompressedSize = _compressedSize, 1653compressedSizeTruncated = (uint)_compressedSize; 2049compressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)_compressedSize; 2097BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeCompressedSizeLocation..], _compressedSize); 2108BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeCompressedSizeLocation), _compressedSize); 2138BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.CompressedSize..], _compressedSize); 2145BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.CompressedSize..], (uint)_compressedSize);