SDL_WriteS8 - Man Page

Use this function to write a signed byte to an SDL_IOStream.

Synopsis

#include <SDL3/SDL_iostream.h>

bool SDL_WriteS8(SDL_IOStream *dst, Sint8 value);

Function Parameters

dst

the SDL_IOStream to write to.

value

the byte value to write.

Return Value

Returns true on successful write 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.

Info

SDL 3.3.2 Simple Directmedia Layer SDL3 FUNCTIONS