Text_Huffman
[ class tree: Text_Huffman ] [ index: Text_Huffman ] [ all elements ]

Source for file example_expand.php

Documentation is available at example_expand.php

  1. <?php
  2.  
  3.  
  4. require 'Text/HuffmanExpand.php';
  5.  
  6.  
  7. $he = new Text_HuffmanExpand();
  8.  
  9. try {
  10.     $he->setFiles("sample_compressed.txt""sample_expanded.txt");
  11.     $he->expand();
  12.     
  13.     echo "Done.";
  14. catch (Exception $e{
  15.     echo $e->getMessage();    
  16. }
  17.  
  18. ?>

Documentation generated on Mon, 11 Mar 2019 13:54:22 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.