diff options
Diffstat (limited to 'src/lisiblestd/bytes.h')
| -rw-r--r-- | src/lisiblestd/bytes.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lisiblestd/bytes.h b/src/lisiblestd/bytes.h new file mode 100644 index 0000000..8af109b --- /dev/null +++ b/src/lisiblestd/bytes.h @@ -0,0 +1,11 @@ +#ifndef LSTD_BYTES_H +#define LSTD_BYTES_H + +#include "types.h" + +u32 u32_from_bytes(const u8 *bytes); +u32 u32_from_bytes_le(const u8 *bytes); +u16 u16_from_bytes_le(const u8 *bytes); +float float_from_bytes_le(const u8 *bytes); + +#endif // LSTD_BYTES_H |
