\hypertarget{apdtemplate_8h}{
\section{apdtemplate.h File Reference}
\label{apdtemplate_8h}\index{apdtemplate.h@{apdtemplate.h}}
}
Arithmetic Byte Decoder, template implementation file. 



\subsection{Detailed Description}
Arithmetic Byte Decoder, template implementation file. 

\begin{Desc}
\item[Author:]JJRussell - \href{mailto:russell@slac.stanford.edu}{\tt russell@slac.stanford.edu}\end{Desc}
\begin{Desc}
\item[]This file acts as a poor man's C++ template. It contains the real meat of the code. By defining a couple of C macros, (notably the stream access size and the method of loading data from the input stream), one can use this template to generate routines that process\end{Desc}
\begin{enumerate}
\item byte streams access as bytes or 32-bit integers. The access style is not of external user concern and is chosen by the implementer strictly on the basis of performance. It turns out on the sun that the byte access method is 20\% faster. These are the APD\_\- routines\item 32-bit byte-swapped streams. These are the APD32\_\- routines \end{enumerate}
