Function sdl2_sys::SDL_ReadU8

source ·
pub unsafe extern "C" fn SDL_ReadU8(src: *mut SDL_RWops) -> Uint8
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