Scroll to navigation

SDL_WriteLE64(3) SDL3 FUNCTIONS SDL_WriteLE64(3)

NAME

SDL_WriteLE64 - Use this function to write 64 bits in native format to a SDL_RWops
as little-endian data.

SYNOPSIS

#include "SDL3/SDL.h"
size_t SDL_WriteLE64(SDL_RWops * dst, Uint64 value);

DESCRIPTION

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

FUNCTION PARAMETERS

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

RETURN VALUE

Returns 1 on successful write, 0 on error.

AVAILABILITY

This function is available since SDL 3.0.0.

SEE ALSO

SDL_WriteBE64(3)

SDL 3.0.0 SDL