al_fwrite16be(3)
okay bestie, welcome to the al_fwrite16be(3) page from the Library Functions Manual β¨ this one is a tiny Allegro 5 helper and it is literally here to write a 16-bit word in big-endian, no cap π
π NAME π
al_fwrite16beβ Allegro 5 API
π SYNOPSIS π
#include <allegro5/allegro.h>
size_t al_fwrite16be(ALLEGRO_FILE *f, int16_t w)
β¨ DESCRIPTION β¨
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. That is the whole vibe π
π¦ SEE ALSO π¦
al_fwrite16le(3)β the other page to check out, bestie π
mwah π β source: Allegro reference manual; page: al_fwrite16be(3); date: not listed in the footer, so we are not inventing one π byeee π«Ά
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms