Function SDL_ReadU8
pub unsafe extern "C" fn SDL_ReadU8(src: *mut SDL_RWops) -> u8
Available on crate feature
dep_sdl2
only.Expand description
Use this function to read a byte from an SDL_RWops.
\param src the SDL_RWops to read from \returns the read byte on success or 0 on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_WriteU8