initial commit
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#ifndef UTILS_H
|
||||
#define UTILS_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
bool get_local_appdata_path(wchar_t* path, size_t len);
|
||||
ByteBuffer* base64_decode(const char* input);
|
||||
void bytes_to_hex(const uint8_t* bytes, size_t len, char* out, size_t out_len);
|
||||
char* escape_json_string(const char* str);
|
||||
bool read_file_content(const wchar_t* path, char** content, size_t* size);
|
||||
bool write_file_content(const wchar_t* path, const char* content, size_t size);
|
||||
|
||||
#endif // UTILS_H
|
||||
Reference in New Issue
Block a user