⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bitio.cpp

📁 wavelet codec there are 34 files with code about the wavelet theory
💻 CPP
字号:
#include <stdlib.h>
#include <iostream.h>
#include <assert.h>
#include <math.h>
#include "global.h"
#include "BitIO.h"


BitIn::BitIn(istream &is, ostream &log) : input(is), bitLog(log)
{
    bitsInBuf = 0;
    bitCount = 0;
}

BitOut::BitOut(ostream &out, ostream &log) : output(out), bitLog(log)
{
    bitsInBuf = 0;
    nBytes = 0;
}

void BitOut::flush(void)
{
    while (bitsInBuf) { output_bit(0); }
}


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -