Use this function to read a byte from an SDL_RWops.
Defined in SDL_rwops.h
Uint8 SDL_ReadU8(SDL_RWops * src);
SDL_RWops * | src | the SDL_RWops to read from. |
(Uint8) 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.