#ifndef PSXC_UTIL_H_
|
|
#define PSXC_UTIL_H_
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
typedef struct {
|
|
size_t size;
|
|
uint8_t data[];
|
|
} byte_arr_t;
|
|
|
|
extern byte_arr_t *read_file(const char *filepath);
|
|
|
|
#endif
|