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

Function json_hex_to_be32

common/json_parse_simple.c:155–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155bool json_hex_to_be32(const char *buffer, const jsmntok_t *tok, be32 *val)
156{
157 return hex_decode(buffer + tok->start, tok->end - tok->start,
158 val, sizeof(*val));
159}
160
161bool json_hex_to_be64(const char *buffer, const jsmntok_t *tok, be64 *val)
162{

Callers 1

init_blockheightsFunction · 0.85

Calls 1

hex_decodeFunction · 0.85

Tested by

no test coverage detected