File random read write


#1

SDL_RWops * SDL_RWFromFile(const char *file, const char *mode)

I need read file at any position.
But the SDL function only have the method to read from begin and one by one to the end.


#2

SDL_RWseek() positions the pointer wherever you want.


#3

Yes, I do with this. It works.