Ubuntu Manpages

SDL_WriteU64LE

Use this function to write 64 bits in native format to an SDL_IOStream as little-endian data.

#include <SDL3/SDL_iostream.h>
bool SDL_WriteU64LE(SDL_IOStream *dst, Uint64 value);

SDL byteswaps the data only if necessary, so the application always specifies native format, and the data written will be in little-endian format.

the stream to which data will be written.
the data to be written, in native format.

for more information.

This function is not thread safe.

This function is available since SDL 3.2.0.