We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca56ddf commit 808217aCopy full SHA for 808217a
1 file changed
assets/js/File_Zipper_js/huffman.js
@@ -1,6 +1,3 @@
1
-/**
2
- * Created by aarnavjindal on 25/04/20.
3
- */
4
5
import { BinaryHeap } from './heap.js';
6
@@ -35,7 +32,7 @@ class HuffmanCoder{
35
32
36
33
destringify(data){
37
34
let node = [];
38
- if(data[this.ind]==='\''){
+ if(data[this.ind]==='\'){
39
this.ind++;
40
node.push(data[this.ind]);
41
@@ -162,4 +159,4 @@ class HuffmanCoder{
162
159
let info = "Decompression complete and file sent for download";
163
160
return [res, this.display(huffman_decoder, true), info];
164
161
}
165
-}
+}
0 commit comments