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

#include "byteBuffer.h"

Static Public Member Functions

static EPICS_ALWAYS_INLINE uint16 op (uint16 v)
 

Detailed Description

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

Definition at line 106 of file byteBuffer.h.

Member Function Documentation

Definition at line 107 of file byteBuffer.h.

107  {
108 #ifdef _PVA_swap16
109  return _PVA_swap16(v);
110 #else
111  return (((v) >> 8) | ((v) << 8));
112 #endif
113  }

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