#ifndef BITUTIL_H_ #define BITUTIL_H_ //#include "global_init.h" typedef unsigned char U8; typedef unsigned short U16; typedef unsigned int U32; typedef unsigned char BOOL; #define TRUE (1) #define FALSE (0) U8 getByteAt(unsigned char * bitStream,int byteIndex); BOOL getBitAt(unsigned char * bitStream, int bitIndex); U32 getIntAt(unsigned char * bitStream,int intIndex); U8 getByteAtBits(unsigned char * bitStream,int firstBitOffset, int length); U32 getIntAtBits(unsigned char * bitStream,int firstBitOffset, int length); #endif /*BITUTIL_H_*/