blob: f34a65baf4c11e7d688c5b2d81575e1a2b57fdfe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* SPDX-FileCopyrightText: Copyright (C) 2025 ZeldaRET */
/* SPDX-License-Identifier: MIT */
#ifndef BIN2C_H
#define BIN2C_H
#include <stddef.h>
int
bin2c(char **out, size_t *size_out, void *bin, size_t size, size_t pad_to_size, unsigned int byte_width);
int
bin2c_file(const char *out_path, void *bin, size_t size, size_t pad_to_size, unsigned int byte_width);
#endif
|