SDL_WriteS64BE3
Use this function to write 64 bits in native format to an sdl_iostream as big-endian data.
Usage
#include "SDL3/SDL.h"
bool SDL_WriteS64BE(SDL_IOStream *dst, Sint64 value);
Header file
Defined in SDL3/SDL_iostream.h
Overview
SDL byteswaps the data only if necessary, so the application always specifies native format, and the data written will be in big-endian format.
Function parameters
dst
|
the stream to which data will be written. |
|---|---|
value
|
the data to be written, in native format. |
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.