CreateRamStream ?

BlitzMax Forums/BlitzMax Programming/CreateRamStream ?

incidentally, you can also just use TRamStream.Create() instead of CreateRamStream (it takes the same parameters). CreateRamStream simply calls the create method.

*EDIT*
I'll try and knock up something for loading an image now.