GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LDT / V0-5-0 > encdec / sun-gcc
#include "LDT/BFU.h"
Functions | |
BFU | RLD_decode (BFU bfu, const unsigned int *buf, unsigned int *new_pos, int cnt) |
Decodes the run-length encoded value from the input bit stream. |
CVS $Id: RLD.h,v 1.1 2009/04/30 00:31:28 russell Exp $
Decodes the run-length encoded value from the input bit stream.
bfu | The decoding context (contains the current word being decoded + the current decoding bit position). | |
buf | The bit buffer | |
new_pos | Returned as a pointer to the new position | |
cnt | The number of bits in the output word. This must match the value used when encoding the value. This must be a value between 1 and 32. |