diff options
| author | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2025-12-19 17:20:02 +1100 |
|---|---|---|
| committer | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2025-12-19 17:20:02 +1100 |
| commit | e943a6867f0e37f5eb68e9911a1971f747ed7531 (patch) | |
| tree | 6b7020f4a62414e00c223c51a31733db20fd817c /include/tinyff/common.h | |
| parent | 827a9e0ceb9b5da11cdcf1f3aa6585b1ea247688 (diff) | |
feat(png): add ff_next_chunk function
Diffstat (limited to 'include/tinyff/common.h')
| -rw-r--r-- | include/tinyff/common.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/tinyff/common.h b/include/tinyff/common.h new file mode 100644 index 0000000..d53adae --- /dev/null +++ b/include/tinyff/common.h @@ -0,0 +1,17 @@ +// Common header for tinyff library +// Not recommended to be included directly +#ifndef TINYFF_COMMON_H +#define TINYFF_COMMON_H + +#include <stdint.h> + +// Human readable number types +// NOTE: The only reason I created these was so +// that debugging will be easier +typedef uint8_t ff_byte; + +// Functions + +static inline uint32_t get_big_endian(const uint8_t *buffer); + +#endif
\ No newline at end of file |
