This package provides an implementation for Allegro_Files backed by read-only
memory. It differs from the Allegro Memfile addon by optionally managing the
memory backing the file.
Returns a reference to a read-only Allegro_File backed by 'buffer'. If
'consume' is True, the Allegro_File assumes ownership of the buffer,
freeing it when the file is closed. If 'buffer' is consumed, the caller
should not reference 'buffer' again after calling this function.