3 references to GetEncodedTruncatedBytesFromString
System.IO.Compression (3)
System\IO\Compression\ZipArchive.cs (1)
224set => _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(