17#ifndef _FGE_ENDIAN_HPP_INCLUDED_
18#define _FGE_ENDIAN_HPP_INCLUDED_
20#include "FastEngine/fge_extern.hpp"
FGE_API uint16_t SwapHostNetEndian_16(uint16_t n)
Swap the endianness of a 16-bit integer.
FGE_API double SwapHostNetEndian_d(double n)
Swap the endianness of a double.
FGE_API uint16_t SwapEndian_16(uint16_t n)
Swap the endianness of a 16-bit integer.
FGE_API uint64_t SwapHostNetEndian_64(uint64_t n)
Swap the endianness of a 64-bit integer.
FGE_API bool IsBigEndian()
Check if the endianness of the system is big endian.
FGE_API float SwapHostNetEndian_f(float n)
Swap the endianness of a float.
FGE_API float SwapEndian_f(float n)
Swap the endianness of a float.
FGE_API double SwapEndian_d(double n)
Swap the endianness of a double.
FGE_API uint64_t SwapEndian_64(uint64_t n)
Swap the endianness of a 64-bit integer.
FGE_API uint32_t SwapHostNetEndian_32(uint32_t n)
Swap the endianness of a 32-bit integer.
FGE_API uint32_t SwapEndian_32(uint32_t n)
Swap the endianness of a 32-bit integer.