A: 

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.

sbi