3 references to GetEncodedTruncatedBytesFromString
System.IO.Compression (3)
System\IO\Compression\ZipArchive.cs (1)
224
set => _archiveComment = ZipHelper.
GetEncodedTruncatedBytesFromString
(value, EntryNameAndCommentEncoding, ZipEndOfCentralDirectoryBlock.ZipFileCommentMaxLength, out _);
System\IO\Compression\ZipArchiveEntry.cs (2)
206
_fileComment = ZipHelper.
GetEncodedTruncatedBytesFromString
(value, _archive.EntryNameAndCommentEncoding, ushort.MaxValue, out bool isUTF8);
231
_storedEntryNameBytes = ZipHelper.
GetEncodedTruncatedBytesFromString
(