5#ifndef RUNTIME_PLATFORM_UTILS_WIN_H_
6#define RUNTIME_PLATFORM_UTILS_WIN_H_
8#if !defined(RUNTIME_PLATFORM_UTILS_H_)
9#error Do not include utils_win.h directly; use utils.h instead.
20 return _byteswap_ushort(
value);
24 return _byteswap_ulong(
value);
28 return _byteswap_uint64(
value);
static uint64_t HostToBigEndian64(uint64_t host_value)
static uint64_t HostToLittleEndian64(uint64_t host_value)
static uint16_t HostToLittleEndian16(uint16_t host_value)
static uint32_t HostToLittleEndian32(uint32_t host_value)
static uint16_t HostToBigEndian16(uint16_t host_value)
static uint32_t HostToBigEndian32(uint32_t host_value)