sdlWriteU8 function
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
extern DECLSPEC size_t SDLCALL SDL_WriteU8(SDL_RWops * dst, Uint8 value)
Implementation
int sdlWriteU8(Pointer<SdlRWops> dst, int value) {
final sdlWriteU8LookupFunction = libSdl2.lookupFunction<
Uint32 Function(Pointer<SdlRWops> dst, Uint8 value),
int Function(Pointer<SdlRWops> dst, int value)>('SDL_WriteU8');
return sdlWriteU8LookupFunction(dst, value);
}