MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / isHexDigit

Function isHexDigit

erpcgen/src/HexValues.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12#include <cctype>
13
14bool isHexDigit(char c)
15{
16 return isdigit(c) || (c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F');
17}
18
19//! \return The integer equivalent to \a c.
20//! \retval -1 The character \a c is not a hex character.

Callers 1

processStringEscapesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected