1 write to EntryNameAndCommentEncoding
System.IO.Compression (1)
System\IO\Compression\ZipArchive.cs (1)
124EntryNameAndCommentEncoding = entryNameEncoding;
6 references to EntryNameAndCommentEncoding
System.IO.Compression (6)
System\IO\Compression\ZipArchive.cs (3)
223get => (EntryNameAndCommentEncoding ?? Encoding.UTF8).GetString(_archiveComment); 224set => _archiveComment = ZipHelper.GetEncodedTruncatedBytesFromString(value, EntryNameAndCommentEncoding, ZipEndOfCentralDirectoryBlock.ZipFileCommentMaxLength, out _); 385throw new ArgumentException(SR.EntryNameAndCommentEncodingNotSupported, nameof(EntryNameAndCommentEncoding));
System\IO\Compression\ZipArchiveEntry.cs (3)
206_fileComment = ZipHelper.GetEncodedTruncatedBytesFromString(value, _archive.EntryNameAndCommentEncoding, ushort.MaxValue, out bool isUTF8); 232value, _archive.EntryNameAndCommentEncoding, 0 /* No truncation */, out bool isUTF8); 362: _archive?.EntryNameAndCommentEncoding ?? Encoding.UTF8;