Flipper Zero Firmware
Loading...
Searching...
No Matches
hex.h
1#pragma once
2#include "stdint.h"
3#include "stdbool.h"
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
15bool hex_char_to_hex_nibble(char c, uint8_t* nibble);
16
24bool hex_char_to_uint8(char hi, char low, uint8_t* value);
25
32bool hex_chars_to_uint8(const char* value_str, uint8_t* value);
33
40bool hex_chars_to_uint64(const char* value_str, uint64_t* value);
41
48void uint8_to_hex_chars(const uint8_t* src, uint8_t* target, int length);
49
50#ifdef __cplusplus
51}
52#endif