MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / NeedPercentEncode

Function NeedPercentEncode

Source/ThirdParty/rapidjson/pointer.h:918–920  ·  view source on GitHub ↗

Check whether a character should be percent-encoded. ! According to RFC 3986 2.3 Unreserved Characters. \param c The character (code unit) to be tested. */

Source from the content-addressed store, hash-verified

916 \param c The character (code unit) to be tested.
917 */
918 bool NeedPercentEncode(Ch c) const {
919 return !((c >= '0' && c <= '9') || (c >= 'A' && c <='Z') || (c >= 'a' && c <= 'z') || c == '-' || c == '.' || c == '_' || c =='~');
920 }
921
922 //! Parse a JSON String or its URI fragment representation into tokens.
923#ifndef __clang__ // -Wdocumentation

Callers 2

ParseFunction · 0.85
StringifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected