1 write to EntryNameAndCommentEncoding
System.IO.Compression (1)
System\IO\Compression\ZipArchive.cs (1)
125
EntryNameAndCommentEncoding
= entryNameEncoding;
6 references to EntryNameAndCommentEncoding
System.IO.Compression (6)
System\IO\Compression\ZipArchive.cs (3)
222
get => (
EntryNameAndCommentEncoding
?? Encoding.UTF8).GetString(_archiveComment);
225
_archiveComment = ZipHelper.GetEncodedTruncatedBytesFromString(value,
EntryNameAndCommentEncoding
, ZipEndOfCentralDirectoryBlock.ZipFileCommentMaxLength, out _);
386
throw new ArgumentException(SR.EntryNameAndCommentEncodingNotSupported, nameof(
EntryNameAndCommentEncoding
));
System\IO\Compression\ZipArchiveEntry.cs (3)
212
_fileComment = ZipHelper.GetEncodedTruncatedBytesFromString(value, _archive.
EntryNameAndCommentEncoding
, ushort.MaxValue, out bool isUTF8);
239
value, _archive.
EntryNameAndCommentEncoding
, 0 /* No truncation */, out bool isUTF8);
376
: _archive?.
EntryNameAndCommentEncoding
?? Encoding.UTF8;