MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / readiness_hex_nibble

Function readiness_hex_nibble

src/ui/http_server.c:1716–1724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1714}
1715
1716static int readiness_hex_nibble(char value) {
1717 if (value >= '0' && value <= '9') {
1718 return value - '0';
1719 }
1720 if (value >= 'a' && value <= 'f') {
1721 return value - 'a' + 10;
1722 }
1723 return -1;
1724}
1725
1726static bool readiness_hex_decode(const char *hex, uint8_t out[CBM_SHA256_DIGEST_LEN]) {
1727 if (!hex || strlen(hex) != CBM_SHA256_HEX_LEN) {

Callers 1

readiness_hex_decodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected