You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello how to run this code with my own files?
like ./arithm-coding inputfilename outputfilename?
it just say Using: name_programm <input_of_file> <output_file>
Hi, I ran a number of tests and have found that in some cases the decoded file doesn't match the original unencoded file.
For example, test "128b_null.bin":
It is a file of 128 bytes that are all 0.
It encodes to 45 bytes.
It decodes to 126 bytes.
There are other cases, e.g.: 255b_null.bin, 256b_null.bin & 2k_null.bin.
The worst case here is a 4 byte difference, i.e. 512b_null.bin where 512 bytes of 0 are encoded to 89 bytes but decodes to 508 bytes
The text was updated successfully, but these errors were encountered: