1 write to EntryNameAndCommentEncoding
System.IO.Compression (1)
System\IO\Compression\ZipArchive.cs (1)
186EntryNameAndCommentEncoding = entryNameEncoding;
6 references to EntryNameAndCommentEncoding
System.IO.Compression (6)
System\IO\Compression\ZipArchive.cs (3)
211get => (EntryNameAndCommentEncoding ?? Encoding.UTF8).GetString(_archiveComment); 214_archiveComment = ZipHelper.GetEncodedTruncatedBytesFromString(value, EntryNameAndCommentEncoding, ZipEndOfCentralDirectoryBlock.ZipFileCommentMaxLength, out _); 371throw new ArgumentException(SR.EntryNameAndCommentEncodingNotSupported, nameof(EntryNameAndCommentEncoding));
System\IO\Compression\ZipArchiveEntry.cs (3)
217_fileComment = ZipHelper.GetEncodedTruncatedBytesFromString(value, _archive.EntryNameAndCommentEncoding, ushort.MaxValue, out bool isUTF8); 244value, _archive.EntryNameAndCommentEncoding, 0 /* No truncation */, out bool isUTF8); 381: _archive?.EntryNameAndCommentEncoding ?? Encoding.UTF8;