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