MCPcopy Create free account
hub / github.com/SpartanJ/eepp / isHexNotation

Method isHexNotation

src/eepp/core/string.cpp:712–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710}
711
712bool String::isHexNotation( const std::string& value, const std::string& withPrefix ) {
713 if ( !withPrefix.empty() && !String::startsWith( value, withPrefix ) ) {
714 return false;
715 }
716 return value.find_first_not_of( "0123456789abcdefABCDEF", withPrefix.size() ) ==
717 std::string::npos;
718}
719
720std::vector<String> String::split( const String& str, const StringBaseType& delim,
721 const bool& pushEmptyString, const bool& keepDelim ) {

Callers

nothing calls this directly

Calls 3

find_first_not_ofMethod · 0.80
emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected