Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
endian.h File Reference

Endian conversion functions. More...

Include dependency graph for endian.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 roc
 Root 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). More...
 
int16_t roc::core::ntoh16s (int16_t v)
 Network to host byte order (signed 16-bit). More...
 
uint32_t roc::core::ntoh32u (uint32_t v)
 Network to host byte order (unsigned 32-bit). More...
 
int32_t roc::core::ntoh32s (int32_t v)
 Network to host byte order (signed 32-bit). More...
 
uint64_t roc::core::ntoh64u (uint64_t v)
 Network to host byte order (unsigned 64-bit). More...
 
int64_t roc::core::ntoh64s (int64_t v)
 Network to host byte order (signed 64-bit). More...
 
uint16_t roc::core::hton16u (uint16_t v)
 Host to network byte order (unsigned 16-bit). More...
 
int16_t roc::core::hton16s (int16_t v)
 Host to network byte order (signed 16-bit). More...
 
uint32_t roc::core::hton32u (uint32_t v)
 Host to network byte order (unsigned 32-bit). More...
 
int32_t roc::core::hton32s (int32_t v)
 Host to network byte order (signed 32-bit). More...
 
uint64_t roc::core::hton64u (uint64_t v)
 Host to network byte order (unsigned 64-bit). More...
 
int64_t roc::core::hton64s (int64_t v)
 Host to network byte order (signed 64-bit). More...
 

Detailed Description

Endian conversion functions.

Definition in file endian.h.