summaryrefslogtreecommitdiff
path: root/include/tinyff/common.h
blob: d53adae5af71bf73d50930f0943fbce08f2f88d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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