📄 bitstream.h
字号:
#ifndef _bitstream_h_
#define _bitstream_h_
typedef struct _bitstream
{
unsigned char *data; /* data bits */
long numBit; /* number of bits in buffer */
long size; /* buffer size in bits */
long currentBit; /* current bit position in bit stream */
long numByte; /* number of bytes read/written (only file) */
} BsBitStream;
BsBitStream *BsOpenWrite(int size);
void BsClose(BsBitStream *bs);
long BsBufferNumBit (BsBitStream *bs);
int BsWriteByte (BsBitStream *stream,
unsigned long data,
int numBit);
int BsPutBit (BsBitStream *stream,
unsigned long data,
int numBit);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -