From 7fea9918dc63eeeac069b01035d68cdceff684d7 Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Mon, 16 Feb 2026 12:57:18 +1100 Subject: feat(com): Add little endian --- include/tinyff/common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/tinyff/common.h b/include/tinyff/common.h index 1fc4efb..abed24f 100644 --- a/include/tinyff/common.h +++ b/include/tinyff/common.h @@ -4,6 +4,7 @@ #define TINYFF_COMMON_H #include +#include // Flags typedef bool ff_flag; @@ -13,6 +14,7 @@ typedef bool ff_flag; // Functions -static inline uint32_t get_big_endian(const uint8_t *buffer); +inline uint32_t get_big_endian(const uint8_t *buffer); +inline uint32_t get_little_endian(const uint8_t *buffer); #endif \ No newline at end of file -- cgit v1.2.3