SDL_IOStreamInterface.write

Write exactly size bytes from the area pointed at by ptr to data stream.

On an incomplete write, you should set *status to a value from the SDL_IOStatus enum. You do not have to explicitly set this on a complete, successful write.

struct SDL_IOStreamInterface
size_t function(void* userdata, const(void)* ptr, size_t size, SDL_IOStatus* status) write;

Return Value

The number of bytes written

Meta