pub unsafe extern "C" fn SDL_SaveFile_IO(
src: *mut SDL_IOStream,
data: *const c_void,
datasize: usize,
closeio: bool,
) -> boolExpand description
Save all the data into an SDL data stream.
§Parameters
src: theSDL_IOStreamto write all data to.data: the data to be written. If datasize is 0, may be NULL or a invalid pointer.datasize: the number of bytes to be written.closeio: if true, callsSDL_CloseIO()onsrcbefore returning, even in the case of an error.
§Return value
Returns true on success or false on failure; call SDL_GetError() for more
information.
§Thread safety
Do not use the same SDL_IOStream from two threads at once.
§Availability
This function is available since SDL 3.2.0.