Both RealBasic and Blitz3D have memoryblock objects for dealing with arbitrary lumps of junk that don't necessarily correspond neatly to internal data types.
So does BlitzMax. Look at CreateStaticBank() that references an exsiting block of memory. It's like PowerBasics "Dim At" command.
I do think BliztMax should have a TypePtr command or simmilar to solve this issue: http://www.blitzbasic.com/Community/posts.php?topic=41809