1 write to EntryNameAndCommentEncoding
System.IO.Compression (1)
System\IO\Compression\ZipArchive.cs (1)
124EntryNameAndCommentEncoding = entryNameEncoding;
7 references to EntryNameAndCommentEncoding
System.IO.Compression (7)
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 (4)
80_storedEntryName = (_archive.EntryNameAndCommentEncoding ?? Encoding.UTF8).GetString(_storedEntryNameBytes); 203get => (_archive.EntryNameAndCommentEncoding ?? Encoding.UTF8).GetString(_fileComment); 206_fileComment = ZipHelper.GetEncodedTruncatedBytesFromString(value, _archive.EntryNameAndCommentEncoding, ushort.MaxValue, out bool isUTF8); 232value, _archive.EntryNameAndCommentEncoding, 0 /* No truncation */, out bool isUTF8);