MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / is_hex_string

Function is_hex_string

src/hx/StdLibs.cpp:719–723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

717
718
719static inline bool is_hex_string(const char *c, int len)
720{
721 return (len > 2 && c[0] == '0' && (c[1] == 'x' || c[1] == 'X'))
722 || (len > 3 && (c[0] == '-' || c[0] == '+') && c[1] == '0' && (c[2] == 'x' || c[2] == 'X'));
723}
724
725Dynamic __hxcpp_parse_int(const String &inString)
726{

Callers 1

__hxcpp_parse_intFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected