5 writes to _uncompressedSize
System.IO.Compression (5)
System\IO\Compression\ZipArchiveEntry.Async.cs (1)
365
_uncompressedSize
= _storedUncompressedData.Length;
System\IO\Compression\ZipArchiveEntry.cs (4)
72
_uncompressedSize
= cd.UncompressedSize;
129
_uncompressedSize
= 0;
802
thisRef.
_uncompressedSize
= currentPosition;
1205
_uncompressedSize
= _storedUncompressedData.Length;
24 references to _uncompressedSize
System.IO.Compression (24)
System\IO\Compression\ZipArchiveEntry.Async.cs (5)
120
_storedUncompressedData = new MemoryStream((int)
_uncompressedSize
);
380
if (
_uncompressedSize
== 0)
386
await WriteLocalFileHeaderAsync(isEmptyFile:
_uncompressedSize
== 0, forceWrite: true, cancellationToken).ConfigureAwait(false);
389
if (
_uncompressedSize
!= 0)
404
await WriteLocalFileHeaderAsync(isEmptyFile:
_uncompressedSize
== 0, forceWrite: forceWrite, cancellationToken).ConfigureAwait(false);
System\IO\Compression\ZipArchiveEntry.cs (19)
318
return
_uncompressedSize
;
485
_storedUncompressedData = new MemoryStream((int)
_uncompressedSize
);
563
UncompressedSize =
_uncompressedSize
569
uncompressedSizeTruncated = (uint)
_uncompressedSize
;
816
uncompressedStream = new DeflateStream(compressedStreamToRead, CompressionMode.Decompress,
_uncompressedSize
);
819
uncompressedStream = new DeflateManagedStream(compressedStreamToRead, ZipCompressionMethod.Deflate64,
_uncompressedSize
);
1005
private bool AreSizesTooLarge => _compressedSize > uint.MaxValue ||
_uncompressedSize
> uint.MaxValue;
1069
Debug.Assert(
_uncompressedSize
== 0);
1101
UncompressedSize =
_uncompressedSize
,
1109
uncompressedSizeTruncated = (uint)
_uncompressedSize
;
1221
if (
_uncompressedSize
== 0)
1227
WriteLocalFileHeader(isEmptyFile:
_uncompressedSize
== 0, forceWrite: true);
1230
if (
_uncompressedSize
!= 0)
1245
WriteLocalFileHeader(isEmptyFile:
_uncompressedSize
== 0, forceWrite: forceWrite);
1325
uncompressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)
_uncompressedSize
;
1370
BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeUncompressedSizeLocation..],
_uncompressedSize
);
1382
BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeUncompressedSizeLocation),
_uncompressedSize
);
1410
BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.UncompressedSize..],
_uncompressedSize
);
1417
BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.UncompressedSize..], (uint)
_uncompressedSize
);