blob: 7e772d3f79b740f30797967feac7a86b509eacb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef STRINGS_H
#define STRINGS_H
#include <stdint.h>
void uint32_to_dec(uint32_t number, char buf[10]);
void uint32_to_hex(uint32_t number, char buf[8]);
void uint32_to_bin(uint32_t number, char buf[32]);
void uint32_to_decstring(uint32_t number, char buf[11]);
void uint32_to_hexstring(uint32_t number, char buf[9]);
void uint32_to_binstring(uint32_t number, char buf[33]);
void trim_0s(char string[]);
void uint32_to_decstringt(uint32_t number, char buf[11]);
void uint32_to_hexstringt(uint32_t number, char buf[9]);
size_t strlen(char string[]);
#endif // STRINGS_H
|