compress.h
来自「哈夫曼压缩程序」· C头文件 代码 · 共 18 行
H
18 行
#ifndef _COMPRESS_H_
#define _COMPRESS_H_
#include"tree.h"
#include "file.h"
/***********************************************************************
*SizeOfOutFile() return the output file's size by bits *
*TranslateAndSto() return how many bits of the end of output file *
*is rubbish *
*CompressAFile(fpInFile,fpOutFile) is a function to compress fpInFile *
*to fpOutFile and return how many chars was writed to fpOutFile *
************************************************************************/
unsigned int SizeOfOutFile(node_p root);
int TranslateAndSto(FILE *fsource,FILE *fgoal,node_p const codetree,weight_t *KeyArray);
int CompressAFile(FILE *fpInFile,FILE *fpOutFile);
long int Compress(const char *InFilePath,const f_name_t InFileNames,const char *OutFilePath,const char *OutFileName);
void *CallSpace(unsigned int size);
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?