View Code? Open in Web Editor
NEW
Huffman encoding visualizer, including file read/write, using entirely JS, HTML, and CSS
Home Page: https://wescossick.github.io/huffman-encoding-visualizer/
License: MIT License
JavaScript 97.62%
CSS 0.29%
HTML 2.09%
huffman-encoding-visualizer's Issues
Here are some ways @Evan-Green and I can improve the visualizer
It already works decently well, just a few changes will do it.
I think it is wrong because you get 4 bytes size for meta length in byte_array but limited in input.js only to 25000 as below
if(meta_length > 25000) return false;
Link to GitHub page, and our GitHub profiles, from the 'About' page
Update Wes's profile image
Hi,
May I know why you didn use Math.ceil
var byte_array = new Uint8Array((full_byte_string.length / 8) + ((full_byte_string.length % 8 != 0) ? 1 : 0));
Thanks
Make sure it works on Firefox, IE, and Safari (both Windows and Mac)
Remove notice on README.md