wpchuff.comp.dwpt.2d.lib

来自「su 的源代码库」· LIB 代码 · 共 27 行

LIB
27
字号
WPCHUFF -Routines for in memory Huffman coding/decodinghuffCompress - huffman compress a byte stream in a memory buffer and output 		the bit stream into another memory bufferhuffDecompress - decompress a huffman coded bit stream in a memory buffer and 		output the byte stream into another memory buffer   Function Prototypes:int huffCompress(void *inb, void *outb)int huffDecompress(void *inb, void *outb)huffCompress:Input:inb	buffer holding the input byte stream Output:outb	buffer holding the output bit streamhuffDecompres:inb	buffer holding the input bit stream outb	buffer holding the output byte streamNote:The algorithm is based on that in Mark Nelson's "Data Compression" book. The compression is performed in memory here.Author:		Tong Chen, 08/01/94

⌨️ 快捷键说明

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