Use this function to read a byte from an SDL_RWops.
Uint8 SDL_ReadU8(SDL_RWops * src);
src | the SDL_RWops to read from |
Returns the read byte on success or 0 on failure; call SDL_GetError() for more information.
This function is available since SDL 2.0.0.