sdlWriteS8 function iostream
Use this function to write a signed byte to an SDL_IOStream.
\param dst the SDL_IOStream to write to. \param value the byte value to write. \returns true on successful write or false on failure; call SDL_GetError() for more information.
\threadsafety Do not use the same SDL_IOStream from two threads at once.
\since This function is available since SDL 3.2.0.
extern SDL_DECLSPEC bool SDLCALL SDL_WriteS8(SDL_IOStream *dst, Sint8 value)
Implementation
bool sdlWriteS8(Pointer<SdlIoStream> dst, int value) {
  final sdlWriteS8LookupFunction = _libSdl
      .lookupFunction<
        Uint8 Function(Pointer<SdlIoStream> dst, Int8 value),
        int Function(Pointer<SdlIoStream> dst, int value)
      >('SDL_WriteS8');
  return sdlWriteS8LookupFunction(dst, value) == 1;
}