private byte getByte (InputStream ihx, byte bytes [])
    throws IOException
    {
	int	temp = ihx.read (bytes, 0, 2);

	if (temp == 0)
	    return -1;
	if (temp != 2)
	    throw new IOException ("bad read");

	// to hex, return
	return 0;
    }