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)
73
_uncompressedSize
= cd.UncompressedSize;
130
_uncompressedSize
= 0;
803
thisRef.
_uncompressedSize
= currentPosition;
1242
_uncompressedSize
= _storedUncompressedData.Length;
25 references to _uncompressedSize
System.IO.Compression (25)
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, preserveDataDescriptor: false, cancellationToken).ConfigureAwait(false);
389
if (
_uncompressedSize
!= 0)
408
await WriteLocalFileHeaderAsync(isEmptyFile:
_uncompressedSize
== 0, forceWrite: forceWrite, preserveDataDescriptor: preserveDataDescriptor, cancellationToken).ConfigureAwait(false);
System\IO\Compression\ZipArchiveEntry.cs (20)
319
return
_uncompressedSize
;
486
_storedUncompressedData = new MemoryStream((int)
_uncompressedSize
);
564
UncompressedSize =
_uncompressedSize
570
uncompressedSizeTruncated = (uint)
_uncompressedSize
;
817
uncompressedStream = new DeflateStream(compressedStreamToRead, CompressionMode.Decompress,
_uncompressedSize
);
820
uncompressedStream = new DeflateManagedStream(compressedStreamToRead, ZipCompressionMethod.Deflate64,
_uncompressedSize
);
847
return new CrcValidatingReadStream(decompressedStream, _crc32,
_uncompressedSize
);
1008
private bool AreSizesTooLarge => _compressedSize > uint.MaxValue ||
_uncompressedSize
> uint.MaxValue;
1083
Debug.Assert(
_uncompressedSize
== 0);
1113
UncompressedSize =
_uncompressedSize
,
1121
uncompressedSizeTruncated = (uint)
_uncompressedSize
;
1258
if (
_uncompressedSize
== 0)
1264
WriteLocalFileHeader(isEmptyFile:
_uncompressedSize
== 0, forceWrite: true);
1267
if (
_uncompressedSize
!= 0)
1286
WriteLocalFileHeader(isEmptyFile:
_uncompressedSize
== 0, forceWrite: forceWrite, preserveDataDescriptor: preserveDataDescriptor);
1366
uncompressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)
_uncompressedSize
;
1411
BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeUncompressedSizeLocation..],
_uncompressedSize
);
1423
BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeUncompressedSizeLocation),
_uncompressedSize
);
1451
BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.UncompressedSize..],
_uncompressedSize
);
1458
BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.UncompressedSize..], (uint)
_uncompressedSize
);