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

Function fx_parseURLDecode

modules/data/url/url.c:864–873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

862}
863
864txInteger fx_parseURLDecode(txMachine* the, txStringStream* stream)
865{
866 txInteger result;
867 txString string = stream->slot->value.string + stream->offset;
868 string = mxStringByteDecode(string, &result);
869 if ((0xD000 <= result) && (result <= 0xDFFF))
870 result = 0xFFFD;
871 stream->offset = string - stream->slot->value.string;
872 return result;
873}
874
875void fx_parseURLEncode(txMachine* the, txInteger c, txStringStream* dst)
876{

Callers 3

fx_parseURLFunction · 0.85
fx_parseURLHostSpecialFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected