Original Post
Hi, I am curently trying to figure out how I could read data from memory like you do from a file with fread. I do not really know where to begin since I would probably store the data as an array of chars. However with fread you specify the file to write to and that can be an integer or whatever. So I am assuming I would get an error if I tried to convery it to an integer. Also how can I use type cast if I do not even know to what format I am moving the data to. If you have done something simular to this or know of a way of doing this I would greatly appreciate it. I need this for a game project that I am working on. I need to read the encrpyed data from the file and then manupulate it from memory. I need to use it something like fread because all of my code uses that and sometimes I need to phase the data like for a 3ds file.