7 writes to _uncompressedSize
System.IO.Compression (7)
System\IO\Compression\ZipArchiveEntry.Async.cs (2)
717
_uncompressedSize
= _storedUncompressedData.Length;
820
_uncompressedSize
= 0;
System\IO\Compression\ZipArchiveEntry.cs (5)
120
_uncompressedSize
= cd.UncompressedSize;
176
_uncompressedSize
= 0;
1022
thisRef.
_uncompressedSize
= currentPosition;
1768
_uncompressedSize
= _storedUncompressedData.Length;
1838
_uncompressedSize
= 0;
29 references to _uncompressedSize
System.IO.Compression (29)
System\IO\Compression\ZipArchiveEntry.Async.cs (8)
333
if ((ulong)
_uncompressedSize
> (ulong)Array.MaxLength)
340
_storedUncompressedData = new MemoryStream((int)
_uncompressedSize
);
581
if (
_uncompressedSize
> Array.MaxLength)
586
_storedUncompressedData = new MemoryStream((int)
_uncompressedSize
);
852
if (
_uncompressedSize
== 0)
877
await WriteLocalFileHeaderAsync(isEmptyFile:
_uncompressedSize
== 0, forceWrite: true, preserveDataDescriptor: false, cancellationToken).ConfigureAwait(false);
906
if (
_uncompressedSize
!= 0)
931
await WriteLocalFileHeaderAsync(isEmptyFile:
_uncompressedSize
== 0, forceWrite: forceWrite, preserveDataDescriptor: preserveDataDescriptor, cancellationToken).ConfigureAwait(false);
System\IO\Compression\ZipArchiveEntry.cs (21)
398
return
_uncompressedSize
;
661
if ((ulong)
_uncompressedSize
> (ulong)Array.MaxLength)
667
_storedUncompressedData = new MemoryStream((int)
_uncompressedSize
);
751
UncompressedSize =
_uncompressedSize
757
uncompressedSizeTruncated = (uint)
_uncompressedSize
;
1109
uncompressedStream = new DeflateStream(compressedStreamToRead, CompressionMode.Decompress,
_uncompressedSize
);
1112
uncompressedStream = new DeflateManagedStream(compressedStreamToRead, ZipCompressionMethod.Deflate64,
_uncompressedSize
);
1172
return new CrcValidatingReadStream(decompressedStream, _crc32,
_uncompressedSize
);
1493
private bool AreSizesTooLarge => _compressedSize > uint.MaxValue ||
_uncompressedSize
> uint.MaxValue;
1573
Debug.Assert(
_uncompressedSize
== 0);
1618
UncompressedSize =
_uncompressedSize
,
1626
uncompressedSizeTruncated = (uint)
_uncompressedSize
;
1863
if (
_uncompressedSize
== 0)
1888
WriteLocalFileHeader(isEmptyFile:
_uncompressedSize
== 0, forceWrite: true);
1917
if (
_uncompressedSize
!= 0)
1942
WriteLocalFileHeader(isEmptyFile:
_uncompressedSize
== 0, forceWrite: forceWrite, preserveDataDescriptor: preserveDataDescriptor);
2022
uncompressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)
_uncompressedSize
;
2068
BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeUncompressedSizeLocation..],
_uncompressedSize
);
2081
BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeUncompressedSizeLocation),
_uncompressedSize
);
2111
BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.UncompressedSize..],
_uncompressedSize
);
2118
BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.UncompressedSize..], (uint)
_uncompressedSize
);