3 writes to _fileComment
System.IO.Compression (3)
System\IO\Compression\ZipArchiveEntry.cs (3)
96
_fileComment
= cd.FileComment;
150
_fileComment
= Array.Empty<byte>();
234
_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)
190
if (
_fileComment
.Length > 0)
192
await _archive.ArchiveStream.WriteAsync(
_fileComment
, cancellationToken).ConfigureAwait(false);
System\IO\Compression\ZipArchiveEntry.cs (6)
231
get => DecodeEntryString(
_fileComment
);
546
Debug.Assert(
_fileComment
.Length <= ushort.MaxValue);
619
+
_fileComment
.Length;
662
BinaryPrimitives.WriteUInt16LittleEndian(cdStaticHeader[ZipCentralDirectoryFileHeader.FieldLocations.FileCommentLength..], (ushort)
_fileComment
.Length);
686
if (
_fileComment
.Length > 0)
688
_archive.ArchiveStream.Write(
_fileComment
);