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

Function json_hex_to_be32

common/json_parse_simple.c:161–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161bool json_hex_to_be32(const char *buffer, const jsmntok_t *tok, be32 *val)
162{
163 return hex_decode(buffer + tok->start, tok->end - tok->start,
164 val, sizeof(*val));
165}
166
167bool json_hex_to_be64(const char *buffer, const jsmntok_t *tok, be64 *val)
168{

Callers 1

init_blockheightsFunction · 0.85

Calls 1

hex_decodeFunction · 0.85

Tested by

no test coverage detected