\hypertarget{BTD_8c}{
\section{BTD.c File Reference}
\label{BTD_8c}\index{BTD.c@{BTD.c}}
}
Binary Tree Encoding routines. 

{\tt \#include \char`\"{}ffs.h\char`\"{}}\par
{\tt \#include \char`\"{}LDT/BTD.h\char`\"{}}\par


Include dependency graph for BTD.c:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=99pt]{BTD_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
unsigned int \hyperlink{BTD_8c_a0}{BTD\_\-word\-Decode} (unsigned int w, unsigned int scheme, int $\ast$nbits)
\begin{CompactList}\small\item\em Decodes the bits in {\em w\/} according to {\em scheme\/}. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Binary Tree Encoding routines. 

\begin{Desc}
\item[Author:]JJRussell - \href{mailto:russell@slac.stanford.edu}{\tt russell@slac.stanford.edu}\end{Desc}
Routines to encode bit strings using a binary tree



\footnotesize\begin{verbatim}    CVS $Id
\end{verbatim}
\normalsize


\subsection{Function Documentation}
\hypertarget{BTD_8c_a0}{
\index{BTD.c@{BTD.c}!BTD_wordDecode@{BTD\_\-wordDecode}}
\index{BTD_wordDecode@{BTD\_\-wordDecode}!BTD.c@{BTD.c}}
\subsubsection[BTD\_\-wordDecode]{\setlength{\rightskip}{0pt plus 5cm}unsigned int BTD\_\-word\-Decode (unsigned int {\em w}, unsigned int {\em scheme}, int $\ast$ {\em nbits})}}
\label{BTD_8c_a0}


Decodes the bits in {\em w\/} according to {\em scheme\/}. 

\begin{Desc}
\item[Returns:]The decoded word\end{Desc}
\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em w}]The encoded bits \item[{\em scheme}]The encoding scheme \item[{\em nbits}]Returns the number of bits decoded.\end{description}
\end{Desc}
