摘要
无论是在存储设备中存储文件,还是用因特网传输文件,经常会用到一些压缩算法来节省空间,提高传输速度。文中利用聚焦最有效的压缩算法Huffman编码,并用Java来实现这个过程。
When people store files in storage devices and transfer files through Internet, compression methods are often used to save space or improve the transfer speed. This paper focus on one of the most efficient compression methods called Huffman method and gives the key procedures by using Java programming language to implement the method.
出处
《电脑编程技巧与维护》
2009年第16期15-16,共2页
Computer Programming Skills & Maintenance
关键词
霍夫曼编码
输入输出流
堆排序
二叉树遍历
存储数据结构设计
字符汉字编码方式
二进制文件读写
Huffman code
input and output flow
Heapsort traverse
binary tree data
structure design
character encoding of Chinese characters
reading and writing binary files