al_fwrite16be3
Allegro 5 api
Usage
-
#include <allegro5/allegro.h> size_t al_fwrite16be(ALLEGRO_FILE *f, int16_t w)
Overview
Writes a 16-bit word in big-endian format (MSB first).
Returns the number of bytes written: 2 on success, less than 2 on an error.