This is Unofficial EPICS BASE Doxygen Site
epics::pvData::detail::swap< 4 > Struct Template Reference

#include "byteBuffer.h"

Static Public Member Functions

static EPICS_ALWAYS_INLINE uint32 op (uint32 v)
 

Detailed Description

template<>
struct epics::pvData::detail::swap< 4 >

Definition at line 116 of file byteBuffer.h.

Member Function Documentation

Definition at line 117 of file byteBuffer.h.

117  {
118 #ifdef _PVA_swap32
119  return _PVA_swap32(v);
120 #else
121  return ((((v) & 0xff000000) >> 24) |
122  (((v) & 0x00ff0000) >> 8) |
123  (((v) & 0x0000ff00) << 8) |
124  (((v) & 0x000000ff) << 24));
125 #endif
126  }

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