huffman-encoding-visualizer icon indicating copy to clipboard operation
huffman-encoding-visualizer copied to clipboard

Math.ceil

Open mohsenhosseini opened this issue 6 years ago • 0 comments
trafficstars

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

mohsenhosseini avatar Nov 28 '18 13:11 mohsenhosseini