3 writes to _fileComment
System.IO.Compression (3)
System\IO\Compression\ZipArchiveEntry.cs (3)
95
_fileComment
= cd.FileComment;
149
_fileComment
= Array.Empty<byte>();
217
_fileComment
= ZipHelper.GetEncodedTruncatedBytesFromString(value, _archive.EntryNameAndCommentEncoding, ushort.MaxValue, out bool isUTF8);
8 references to _fileComment
System.IO.Compression (8)
System\IO\Compression\ZipArchiveEntry.Async.cs (2)
140
if (
_fileComment
.Length > 0)
142
await _archive.ArchiveStream.WriteAsync(
_fileComment
, cancellationToken).ConfigureAwait(false);
System\IO\Compression\ZipArchiveEntry.cs (6)
214
get => DecodeEntryString(
_fileComment
);
488
Debug.Assert(
_fileComment
.Length <= ushort.MaxValue);
562
+
_fileComment
.Length;
605
BinaryPrimitives.WriteUInt16LittleEndian(cdStaticHeader[ZipCentralDirectoryFileHeader.FieldLocations.FileCommentLength..], (ushort)
_fileComment
.Length);
629
if (
_fileComment
.Length > 0)
631
_archive.ArchiveStream.Write(
_fileComment
);