Possible Duplicate:
Are there binary memory streams in C++
Oops - http://stackoverflow.com/questions/1559254/are-there-binary-memory-streams-in-c
Basically, I need an easy-to-use class which I can load raw data into and stream it into different variables
That would be IO streams. You can use their .read()
and .write()
member functions to read and write binary data.