Discussion Board
Go to the previous messageThere are no next messages
Current Forum: Homework 4 - Huffman Trees (Part 1)
Date: Wed Oct 24 2001 4:14 am
Author: Chen, Richard <richardc@andrew.cmu.edu>
Subject: Re: file to store compressed data

Do you need the "CH" in the 1st 2 bytes of your header? You'd only want to run:
java My211zip c h <infile> <outfile>
on a <infile> which is compressed, so you already know, without looking at the header of <infile> (which would, as you say, contain "CH" in the 1st 2 bytes of its header), that <infile> is compressed.

But no big difference in the big scheme of things. Unless space is at a premium, the above point is just a small thing to consider.
Post response

Go to the previous messageThere are no next messages
Current Thread Detail:
file to store compressed data      Jaiya, Aparna      Wed Oct 10 2001 6:21 pm       
Re: file to store compressed data      Cipriani, Jason A.      Wed Oct 10 2001 9:16 pm       
Re: file to store compressed data      Maxim, Michael G.      Thu Oct 11 2001 5:56 pm       
Re: file to store compressed ...      Chen, Richard      Wed Oct 24 2001 4:14 am       

Back to previous screen