![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Endian conversion functions. More...
#include "roc_core/endian_ops.h"

Go to the source code of this file.
Namespaces | |
| namespace | roc |
| Root namespace. | |
| namespace | roc::core |
| General-purpose building blocks and platform abstraction layer. | |
Functions | |
| uint16_t | roc::core::ntoh16u (uint16_t v) |
| Network to host byte order (unsigned 16-bit). | |
| int16_t | roc::core::ntoh16s (int16_t v) |
| Network to host byte order (signed 16-bit). | |
| uint32_t | roc::core::ntoh32u (uint32_t v) |
| Network to host byte order (unsigned 32-bit). | |
| int32_t | roc::core::ntoh32s (int32_t v) |
| Network to host byte order (signed 32-bit). | |
| uint64_t | roc::core::ntoh64u (uint64_t v) |
| Network to host byte order (unsigned 64-bit). | |
| int64_t | roc::core::ntoh64s (int64_t v) |
| Network to host byte order (signed 64-bit). | |
| uint16_t | roc::core::hton16u (uint16_t v) |
| Host to network byte order (unsigned 16-bit). | |
| int16_t | roc::core::hton16s (int16_t v) |
| Host to network byte order (signed 16-bit). | |
| uint32_t | roc::core::hton32u (uint32_t v) |
| Host to network byte order (unsigned 32-bit). | |
| int32_t | roc::core::hton32s (int32_t v) |
| Host to network byte order (signed 32-bit). | |
| uint64_t | roc::core::hton64u (uint64_t v) |
| Host to network byte order (unsigned 64-bit). | |
| int64_t | roc::core::hton64s (int64_t v) |
| Host to network byte order (signed 64-bit). | |
Endian conversion functions.
Definition in file endian.h.