private int readCodeBit() throws IOException {
		int temp = input.read();  // read one digit after freq in inputBitstream
		if (temp != -1)
			return temp;
		else  // Treat end of stream as an infinite number of trailing zeros
			return 0;
	}