MCPcopy Create free account
hub / github.com/ElementsProject/lightning / json_hex_to_be64

Function json_hex_to_be64

common/json_parse_simple.c:167–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167bool json_hex_to_be64(const char *buffer, const jsmntok_t *tok, be64 *val)
168{
169 return hex_decode(buffer + tok->start, tok->end - tok->start,
170 val, sizeof(*val));
171}
172
173
174bool json_tok_is_num(const char *buffer, const jsmntok_t *tok)

Callers

nothing calls this directly

Calls 1

hex_decodeFunction · 0.85

Tested by

no test coverage detected