summaryrefslogtreecommitdiff
path: root/include/tinyff
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-02-16 12:57:18 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-02-16 12:57:18 +1100
commit7fea9918dc63eeeac069b01035d68cdceff684d7 (patch)
tree379282b00255f37f462862586e9fb7136d3efef9 /include/tinyff
parent93520564a4aae6a25420f083eb1c7d73372a4ca0 (diff)
feat(com): Add little endian
Diffstat (limited to 'include/tinyff')
-rw-r--r--include/tinyff/common.h4
1 files changed, 3 insertions, 1 deletions
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 <stdint.h>
+#include <stdbool.h>
// 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