Home > Back-end >  Huffman compression problem
Huffman compression problem

Time:02-13

Write a small program, using Huffman encoding compression and decompression, compression without any problem, small files no problem, but the file is big, extract the file may be only the first half, second half direct didn't, sometimes can be normal decompression, have who met this kind of situation, what could be the cause?

CodePudding user response:

You may use an int type file location operation, due to the small results wrap the int value range,
  • Related