GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LDT / V0-4-0
Constituent: encdec     Tag: sun-gcc
Functions | |
unsigned int | BTD_wordDecode (unsigned int w, unsigned int scheme, int *nbits) |
Decodes the bits in w according to scheme. | |
unsigned int | BTD_shortDecode (unsigned short int s, unsigned int scheme, int *nbits) |
Decodes the bits in w according to scheme. |
CVS $Id: BTD.h,v 1.3 2009/04/29 23:06:40 russell Exp $
Interface specification for routines to decode bit strings previously binary tree encoded data.
unsigned int BTD_shortDecode | ( | unsigned short int | s, | |
unsigned int | scheme, | |||
int * | nbits | |||
) |
Decodes the bits in w according to scheme.
s | The encoded bits | |
scheme | The encoding scheme | |
nbits | Returns the number of bits decoded. |
unsigned int BTD_wordDecode | ( | unsigned int | w, | |
unsigned int | scheme, | |||
int * | nbits | |||
) |
Decodes the bits in w according to scheme.
w | The encoded bits | |
scheme | The encoding scheme | |
nbits | Returns the number of bits decoded. |