3 * Routines for reading/writing multibyte data from/to files. They ensure a
12 #include <stdio.h> /* for FILE typedef */
13 #include <stdint.h> /* for uint16_t, uint32_t */
17 extern uint16_t read_uint16_bigendian(FILE * file);
18 extern uint32_t read_uint32_bigendian(FILE * file);
19 extern void write_uint16_bigendian(uint16_t x, FILE * file);
20 extern void write_uint32_bigendian(uint32_t x, FILE * file);