I have a class that uses fseek(), fread(), fopen() to read from a file. The thing is, I have the data in the memory in a variable instead of in a file. Don't please ask for question why or provide alternatives, what I need to get done is to make these functions to work with the data in the variable. Got any ideas?