[][src]Function sdl2_sys::SDL_RWread

pub unsafe extern "C" fn SDL_RWread(
    context: *mut SDL_RWops,
    ptr: *mut c_void,
    size: size_t,
    maxnum: size_t
) -> size_t
[]

Read up to \c maxnum objects each of size \c size from the data stream to the area pointed at by \c ptr.

\return the number of objects read, or 0 at error or end of file.