5 writes to _compressedSize
System.IO.Compression (5)
System\IO\Compression\ZipArchiveEntry.Async.cs (1)
312_compressedSize = 0;
System\IO\Compression\ZipArchiveEntry.cs (4)
71_compressedSize = cd.CompressedSize; 128_compressedSize = 0; // we don't know these yet 737thisRef._compressedSize = backing.Position - initialPosition; 1122_compressedSize = 0;
23 references to _compressedSize
System.IO.Compression (23)
System\IO\Compression\ZipArchiveEntry.Async.cs (3)
177await ZipHelper.ReadBytesAsync(_archive.ArchiveStream, _compressedBytes[_compressedBytes.Length - 1], (int)(_compressedSize % maxSingleBufferSize), cancellationToken).ConfigureAwait(false); 337if (_compressedSize != 0) 339_archive.ArchiveStream.Seek(_compressedSize, SeekOrigin.Current);
System\IO\Compression\ZipArchiveEntry.cs (20)
186return _compressedSize; 505CompressedSize = _compressedSize, 511compressedSizeTruncated = (uint)_compressedSize; 656byte[][] compressedBytes = new byte[(_compressedSize / maxSingleBufferSize) + 1][]; 661compressedBytes[compressedBytes.Length - 1] = new byte[_compressedSize % maxSingleBufferSize]; 683ZipHelper.ReadBytes(_archive.ArchiveStream, _compressedBytes[_compressedBytes.Length - 1], (int)(_compressedSize % maxSingleBufferSize)); 777Stream compressedStream = new SubReadStream(_archive.ArchiveStream, offsetOfCompressedData, _compressedSize); 890if (offsetOfCompressedData + _compressedSize > _archive.ArchiveStream.Length) 901if (_compressedSize > int.MaxValue) 914private bool AreSizesTooLarge => _compressedSize > uint.MaxValue || _uncompressedSize > uint.MaxValue; 978Debug.Assert(_compressedSize == 0); 1010CompressedSize = _compressedSize, 1018compressedSizeTruncated = (uint)_compressedSize; 1147if (_compressedSize != 0) 1149_archive.ArchiveStream.Seek(_compressedSize, SeekOrigin.Current); 1222compressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)_compressedSize; 1269BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeCompressedSizeLocation..], _compressedSize); 1279BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeCompressedSizeLocation), _compressedSize); 1307BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.CompressedSize..], _compressedSize); 1314BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.CompressedSize..], (uint)_compressedSize);