MCPcopy Create free account
hub / github.com/Artikash/Textractor / Escape

Function Escape

extensions/network.cpp:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51std::wstring Escape(const std::wstring& text)
52{
53 std::wstring escaped;
54 for (unsigned char ch : WideStringToString(text)) escaped += FormatString(L"%%%02X", (int)ch);
55 return escaped;
56}
57
58std::string Escape(const std::string& text)
59{

Callers

nothing calls this directly

Calls 2

WideStringToStringFunction · 0.85
FormatStringFunction · 0.85

Tested by

no test coverage detected