| 153 | } |
| 154 | |
| 155 | bool 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 | |
| 161 | bool json_hex_to_be64(const char *buffer, const jsmntok_t *tok, be64 *val) |
| 162 | { |
no test coverage detected