3 writes to _fileComment
System.IO.Compression (3)
System\IO\Compression\ZipArchiveEntry.cs (3)
88
_fileComment
= cd.FileComment;
144
_fileComment
= Array.Empty<byte>();
212
_fileComment
= ZipHelper.GetEncodedTruncatedBytesFromString(value, _archive.EntryNameAndCommentEncoding, ushort.MaxValue, out bool isUTF8);
6 references to _fileComment
System.IO.Compression (6)
System\IO\Compression\ZipArchiveEntry.cs (6)
209
get => DecodeEntryString(
_fileComment
);
491
Debug.Assert(
_fileComment
.Length <= ushort.MaxValue);
560
+
_fileComment
.Length;
598
BinaryPrimitives.WriteUInt16LittleEndian(cdStaticHeader[ZipCentralDirectoryFileHeader.FieldLocations.FileCommentLength..], (ushort)
_fileComment
.Length);
613
if (
_fileComment
.Length > 0)
614
_archive.ArchiveStream.Write(
_fileComment
);