Using custom PACKFILE vtables.
This program demonstrates the use of the packfile functions, with some
The first test uses the standard packfile functions to transfer a
bitmap file into a block of memory, then reads the bitmap out of the
block of memory, using a custom packfile vtable.
The second test reads in a bitmap with another custom packfile
vtable, which uses libc's filestream functions.
The third test demonstrates seeking with a custom vtable.
The fourth test reads two bitmaps, and dumps them back into a
single file, using a custom vtable again.