foobar2000 SDK  2015-01-14
Static Public Member Functions
pfc::__EncodeIntHelper< TInt, width, IsBigEndian >

#include <byte_order_helper.h>

Static Public Member Functions

static void Run (TInt p_value, t_uint8 *p_out)
 

Detailed Description

template<typename TInt, unsigned width, bool IsBigEndian>
class pfc::__EncodeIntHelper< TInt, width, IsBigEndian >

Definition at line 142 of file byte_order_helper.h.

Member Function Documentation

template<typename TInt, unsigned width, bool IsBigEndian>
static void pfc::__EncodeIntHelper< TInt, width, IsBigEndian >::Run ( TInt  p_value,
t_uint8 p_out 
)
inlinestatic

Definition at line 144 of file byte_order_helper.h.

144  {
145  *p_out = (t_uint8)(p_value);
146  __EncodeIntHelper<TInt,width-1,IsBigEndian>::Run(p_value >> 8,p_out + (IsBigEndian ? -1 : 1));
147  }
uint8_t t_uint8
Definition: int_types.h:9
static void Run(TInt p_value, t_uint8 *p_out)

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