common/src/main/java/HTTPClient/RespInputStream.java
/**
     * Reads a single byte.
     *
     * @return the byte read, or -1 if EOF.
     * @exception IOException if any exception occured on the connection.
     */
Reads a single byte.
@return the byte read, or -1 if EOF.
@exception IOException if any exception occured on the connection.
Reads a single byte . @return the byte read or - 1 if EOF . @exception IOException if any exception occured on the connection .
public synchronized int read() throws IOException
    {
	int rcvd = read(ch, 0, 1);
	if (rcvd == 1)
	    return ch[0] & 0xff;
	else
	    return -1;
    }
public synchronized int read ( ) throws IOException { int rcvd = read ( ch , 0 , 1 ) ; if ( rcvd == 1 ) return ch [ 0 ] & 0xff ; else return - 1 ; }
Reads a single byte.
Reads a single byte .