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

Function readiness_hex_nibble

src/ui/http_server.c:3105–3113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3103}
3104
3105static int readiness_hex_nibble(char value) {
3106 if (value >= '0' && value <= '9') {
3107 return value - '0';
3108 }
3109 if (value >= 'a' && value <= 'f') {
3110 return value - 'a' + 10;
3111 }
3112 return -1;
3113}
3114
3115static bool readiness_hex_decode(const char *hex, uint8_t out[CBM_SHA256_DIGEST_LEN]) {
3116 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