5#ifndef CORE_FXCRT_BYTEORDER_H_
6#define CORE_FXCRT_BYTEORDER_H_
8#include "build/build_config.h"
9#include "third_party/base/sys_byteorder.h"
16 return pdfium::base::ByteSwapToLE16(x);
20 return pdfium::base::ByteSwapToLE32(x);
26#if defined(ARCH_CPU_LITTLE_ENDIAN)
27 return pdfium::base::ByteSwap(x);
34#if defined(ARCH_CPU_LITTLE_ENDIAN)
35 return pdfium::base::ByteSwap(x);
uint16_t ByteSwapToLE16(uint16_t x)
uint32_t ByteSwapToLE32(uint32_t x)
TEST(ByteOrder, ByteSwapToLE16)
uint32_t ByteSwapToBE32(uint32_t x)
uint16_t ByteSwapToBE16(uint16_t x)