Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# oscl_byte_order.h File Reference

This file defines functions providing byte ordering utility (e.g., switching between big and little endian orders). More...

`#include "oscl_base.h"`
`#include "oscl_byte_order.inl"`

Go to the source code of this file.

## Functions
void | little_endian_to_host (char *data, uint32 size)
| Convert little endian to host format.
void | host_to_little_endian (char *data, unsigned int size)
| Convert host to little endian format.
void | big_endian_to_host (char *data, unsigned int size)
| Convert big endian to host format.
void | host_to_big_endian (char *data, unsigned int size)
| Convert host to big endian format.

## Detailed Description

This file defines functions providing byte ordering utility (e.g., switching between big and little endian orders).