📄 compress.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -