Function sdl2_sys::SDL_WriteU8

source ·
pub unsafe extern "C" fn SDL_WriteU8(
    dst: *mut SDL_RWops,
    value: Uint8
) -> size_t
Expand description

Use this function to write a byte to an SDL_RWops.

\param dst the SDL_RWops to write to \param value the byte value to write \returns 1 on success or 0 on failure; call SDL_GetError() for more information.

\since This function is available since SDL 2.0.0.

\sa SDL_ReadU8