add utf8.escape, string.escape & reformat extensions.md

This commit is contained in:
MihailRis
2024-11-18 09:21:16 +03:00
parent 618a9f0411
commit dcd8871ee1
7 changed files with 85 additions and 44 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
namespace util {
/// @brief Function used for string serialization in text formats
std::string escape(const std::string& s);
std::string escape(std::string_view s);
/// @brief Function used for error messages
std::string quote(const std::string& s);