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

Endian converters. More...

#include <arpa/inet.h>
#include <inttypes.h>
#include <netinet/in.h>
#include <sys/types.h>
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
 Basic building blocks.
 

Functions

uint16_t roc::core::ntoh16 (uint16_t v)
 Network to host (16 bits). More...
 
uint32_t roc::core::ntoh32 (uint32_t v)
 Network to host (32 bits). More...
 
uint16_t roc::core::hton16 (uint16_t v)
 Host to network (16 bits). More...
 
uint32_t roc::core::hton32 (uint32_t v)
 Host to network (32 bits). More...
 

Detailed Description

Endian converters.

Definition in file endian.h.