MCPcopy Create free account
hub / github.com/apache/brpc / IsHexDigit

Function IsHexDigit

src/butil/strings/string_util.h:377–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375
376template <typename Char>
377inline bool IsHexDigit(Char c) {
378 return (c >= '0' && c <= '9') ||
379 (c >= 'A' && c <= 'F') ||
380 (c >= 'a' && c <= 'f');
381}
382
383template <typename Char>
384inline Char HexDigitToInt(Char c) {

Callers 1

HexDigitToIntFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected