Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::core::EndianOps Class Reference

Endian operations. More...

#include <endian_ops.h>

Static Public Member Functions

template<class T >
static T swap_endian (T v)
 Swap between endians. More...
 
template<class T >
static T swap_native_be (T v)
 Swap between native endian and big endian. More...
 
template<class T >
static T swap_native_le (T v)
 Swap between native endian and little endian. More...
 

Detailed Description

Endian operations.

Definition at line 22 of file endian_ops.h.

Member Function Documentation

◆ swap_endian()

template<class T >
static T roc::core::EndianOps::swap_endian ( v)
inlinestatic

Swap between endians.

Definition at line 25 of file endian_ops.h.

◆ swap_native_be()

template<class T >
static T roc::core::EndianOps::swap_native_be ( v)
inlinestatic

Swap between native endian and big endian.

Definition at line 31 of file endian_ops.h.

◆ swap_native_le()

template<class T >
static T roc::core::EndianOps::swap_native_le ( v)
inlinestatic

Swap between native endian and little endian.

Definition at line 43 of file endian_ops.h.


The documentation for this class was generated from the following file: