\doxysection{rtrlib/lib/convert\+\_\+byte\+\_\+order\+\_\+private.h File Reference}
\hypertarget{convert__byte__order__private_8h}{}\label{convert__byte__order__private_8h}\index{rtrlib/lib/convert\_byte\_order\_private.h@{rtrlib/lib/convert\_byte\_order\_private.h}}
{\ttfamily \#include $<$inttypes.\+h$>$}\newline
\doxysubsubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{convert__byte__order__private_8h_ac7f9e54856274b72079ec96ab0e18fa1}{target\+\_\+byte\+\_\+order}} \{ \mbox{\hyperlink{convert__byte__order__private_8h_ac7f9e54856274b72079ec96ab0e18fa1a2ab4b81abd865654cdd8540be416a082}{TO\+\_\+\+NETWORK\+\_\+\+BYTE\+\_\+\+ORDER}}
, \mbox{\hyperlink{convert__byte__order__private_8h_ac7f9e54856274b72079ec96ab0e18fa1afee8f85a977eaf8aecf7cc9edbb4d622}{TO\+\_\+\+HOST\+\_\+\+HOST\+\_\+\+BYTE\+\_\+\+ORDER}}
 \}
\begin{DoxyCompactList}\small\item\em Target byte order for conversion. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
uint16\+\_\+t \mbox{\hyperlink{convert__byte__order__private_8h_a1a9453a0f36464de2adbc6d71a875428}{lrtr\+\_\+convert\+\_\+short}} (const enum \mbox{\hyperlink{convert__byte__order__private_8h_ac7f9e54856274b72079ec96ab0e18fa1}{target\+\_\+byte\+\_\+order}} tbo, const uint16\+\_\+t value)
\begin{DoxyCompactList}\small\item\em Converts the passed short value to the given target byte order. \end{DoxyCompactList}\item 
uint32\+\_\+t \mbox{\hyperlink{convert__byte__order__private_8h_a0d16a8e60b7f3aabff4975e08fc47c59}{lrtr\+\_\+convert\+\_\+long}} (const enum \mbox{\hyperlink{convert__byte__order__private_8h_ac7f9e54856274b72079ec96ab0e18fa1}{target\+\_\+byte\+\_\+order}} tbo, const uint32\+\_\+t value)
\begin{DoxyCompactList}\small\item\em Converts the passed long value to the given target byte order. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Enumeration Type Documentation}
\Hypertarget{convert__byte__order__private_8h_ac7f9e54856274b72079ec96ab0e18fa1}\label{convert__byte__order__private_8h_ac7f9e54856274b72079ec96ab0e18fa1} 
\index{convert\_byte\_order\_private.h@{convert\_byte\_order\_private.h}!target\_byte\_order@{target\_byte\_order}}
\index{target\_byte\_order@{target\_byte\_order}!convert\_byte\_order\_private.h@{convert\_byte\_order\_private.h}}
\doxysubsubsection{\texorpdfstring{target\_byte\_order}{target\_byte\_order}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{convert__byte__order__private_8h_ac7f9e54856274b72079ec96ab0e18fa1}{target\+\_\+byte\+\_\+order}}}



Target byte order for conversion. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{TO\_NETWORK\_BYTE\_ORDER@{TO\_NETWORK\_BYTE\_ORDER}!convert\_byte\_order\_private.h@{convert\_byte\_order\_private.h}}\index{convert\_byte\_order\_private.h@{convert\_byte\_order\_private.h}!TO\_NETWORK\_BYTE\_ORDER@{TO\_NETWORK\_BYTE\_ORDER}}}\Hypertarget{convert__byte__order__private_8h_ac7f9e54856274b72079ec96ab0e18fa1a2ab4b81abd865654cdd8540be416a082}\label{convert__byte__order__private_8h_ac7f9e54856274b72079ec96ab0e18fa1a2ab4b81abd865654cdd8540be416a082} 
TO\+\_\+\+NETWORK\+\_\+\+BYTE\+\_\+\+ORDER&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{TO\_HOST\_HOST\_BYTE\_ORDER@{TO\_HOST\_HOST\_BYTE\_ORDER}!convert\_byte\_order\_private.h@{convert\_byte\_order\_private.h}}\index{convert\_byte\_order\_private.h@{convert\_byte\_order\_private.h}!TO\_HOST\_HOST\_BYTE\_ORDER@{TO\_HOST\_HOST\_BYTE\_ORDER}}}\Hypertarget{convert__byte__order__private_8h_ac7f9e54856274b72079ec96ab0e18fa1afee8f85a977eaf8aecf7cc9edbb4d622}\label{convert__byte__order__private_8h_ac7f9e54856274b72079ec96ab0e18fa1afee8f85a977eaf8aecf7cc9edbb4d622} 
TO\+\_\+\+HOST\+\_\+\+HOST\+\_\+\+BYTE\+\_\+\+ORDER&\\
\hline

\end{DoxyEnumFields}


\doxysubsection{Function Documentation}
\Hypertarget{convert__byte__order__private_8h_a0d16a8e60b7f3aabff4975e08fc47c59}\label{convert__byte__order__private_8h_a0d16a8e60b7f3aabff4975e08fc47c59} 
\index{convert\_byte\_order\_private.h@{convert\_byte\_order\_private.h}!lrtr\_convert\_long@{lrtr\_convert\_long}}
\index{lrtr\_convert\_long@{lrtr\_convert\_long}!convert\_byte\_order\_private.h@{convert\_byte\_order\_private.h}}
\doxysubsubsection{\texorpdfstring{lrtr\_convert\_long()}{lrtr\_convert\_long()}}
{\footnotesize\ttfamily uint32\+\_\+t lrtr\+\_\+convert\+\_\+long (\begin{DoxyParamCaption}\item[{const enum \mbox{\hyperlink{convert__byte__order__private_8h_ac7f9e54856274b72079ec96ab0e18fa1}{target\+\_\+byte\+\_\+order}}}]{tbo,  }\item[{const uint32\+\_\+t}]{value }\end{DoxyParamCaption})}



Converts the passed long value to the given target byte order. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em tbo} & Target byte order. \\
\hline
\mbox{\texttt{ in}}  & {\em value} & Input (uint32\+\_\+t) for conversion. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Converted uint32\+\_\+t value. 
\end{DoxyReturn}
\Hypertarget{convert__byte__order__private_8h_a1a9453a0f36464de2adbc6d71a875428}\label{convert__byte__order__private_8h_a1a9453a0f36464de2adbc6d71a875428} 
\index{convert\_byte\_order\_private.h@{convert\_byte\_order\_private.h}!lrtr\_convert\_short@{lrtr\_convert\_short}}
\index{lrtr\_convert\_short@{lrtr\_convert\_short}!convert\_byte\_order\_private.h@{convert\_byte\_order\_private.h}}
\doxysubsubsection{\texorpdfstring{lrtr\_convert\_short()}{lrtr\_convert\_short()}}
{\footnotesize\ttfamily uint16\+\_\+t lrtr\+\_\+convert\+\_\+short (\begin{DoxyParamCaption}\item[{const enum \mbox{\hyperlink{convert__byte__order__private_8h_ac7f9e54856274b72079ec96ab0e18fa1}{target\+\_\+byte\+\_\+order}}}]{tbo,  }\item[{const uint16\+\_\+t}]{value }\end{DoxyParamCaption})}



Converts the passed short value to the given target byte order. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em tbo} & Target byte order. \\
\hline
\mbox{\texttt{ in}}  & {\em value} & Input (uint16\+\_\+t) for conversion. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Converted uint16\+\_\+t value. 
\end{DoxyReturn}
