Function sdl2_sys::SDL_WriteLE32
source ยท pub unsafe extern "C" fn SDL_WriteLE32(
dst: *mut SDL_RWops,
value: Uint32,
) -> usize
Expand description
Use this function to write 32 bits in native format to a SDL_RWops as little-endian data.
SDL byteswaps the data only if necessary, so the application always specifies native format, and the data written will be in little-endian format.
\param dst the stream to which data will be written \param value the data to be written, in native format \returns 1 on successful write, 0 on error.
\since This function is available since SDL 2.0.0.
\sa SDL_WriteBE32