Memfile interface
The memfile interface allows you to treat a fixed block of contiguous memory as a file that can be used with Allegro's I/O functions.
These functions are declared in the following header file. Link with allegro_memfile.
#include <allegro5/allegro_memfile.h>