SDL_WriteU8(3)

SDL_WriteU83

Use this function to write a byte to an sdl_iostream .

Usage

#include "SDL3/SDL.h"

bool SDL_WriteU8(SDL_IOStream *dst, Uint8 value);

Header file

Defined in SDL3/SDL_iostream.h

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

This function is not thread safe.

Availability

This function is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.