MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxStringifyHexEscape

Function fxStringifyHexEscape

xs/sources/xsCommon.c:935–942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

933}
934
935txString fxStringifyHexEscape(txString string, txInteger character)
936{
937 const char* digits = gxHexUpper;
938 txU1* p = (txU1*)string;
939 *p++ = c_read8(digits + ((character & 0x000000F0) >> 4));
940 *p++ = c_read8(digits + (character & 0x0000000F));
941 return (txString)p;
942}
943
944txString fxStringifyUnicodeEscape(txString string, txInteger character, txInteger separator)
945{

Callers 4

fx_parseURLPercentEncodeFunction · 0.85
fx_serializeQueryPlusFunction · 0.85
fx_escapeFunction · 0.85
fxEncodeURIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected