Current Forum: Homework 4 - Lempel Ziv (Part 2) |
Date: Tue Oct 23 2001 6:47 pm |
Author: Dozzi, Giancarlo <gdozzi@andrew.cmu.edu> |
Subject: Re: strange bug with LZW |
|
|
I found that our problem was that we were trying to read 2 bytes and do some bit-shifting to mash them into a short. Turns out you can just use FileBitReader.readBits(variable, 16)...that worked. |
|