Question: Method HuffmanTree(5tring codeFile) void decode(BitInputStream in, String outFile) Description This constructor will reconstruct the tree from a file. You can assume that the file contains


Method HuffmanTree(5tring codeFile) void decode(BitInputStream in, String outFile) Description This constructor will reconstruct the tree from a file. You can assume that the file contains a tree stored in standard format. Note that when reconstructing the tree from the file, the character frequencies no longer matter. This method will decode the stream of bits (0's and 1's) supplied and output the corresponding characters to the supplied file, given the naming conventions later in this document
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
