home · contact · privacy
Re-grouped functions in readwrite library for readability reasons.
[plomrogue] / src / readwrite.h
1 #ifndef READWRITE_H
2 #define READWRITE_H
3
4 #include <stdio.h>
5 #include <stdint.h>
6
7 extern uint16_t read_uint16_bigendian(FILE * file);
8 extern uint32_t read_uint32_bigendian(FILE * file);
9 extern void write_uint16_bigendian(uint16_t x, FILE * file);
10 extern void write_uint32_bigendian(uint32_t x, FILE * file);
11
12 #endif