common/src/main/java/HTTPClient/StreamDemultiplexor.java
/**
     * skips a number of bytes in the master stream. This is done via a
     * dummy read, as the socket input stream doesn't like skip()'s.
     */
skips a number of bytes in the master stream. This is done via a
dummy read, as the socket input stream doesn't like skip()'s.
skips a number of bytes in the master stream . This is done via a dummy read as the socket input stream doesn ' t like skip () ' s .
synchronized long skip(long num, ResponseHandler resph) throws IOException
    {
	if (resph.exception != null)
	{
	    resph.exception.fillInStackTrace();
	    throw resph.exception;
	}
	if (resph.eof)
	    return 0;
	byte[] dummy = new byte[(int) num];
	int rcvd = read(dummy, 0, (int) num, resph, 0);
	if (rcvd == -1)
	    return 0;
	else
	    return rcvd;
    }
synchronized long skip ( long num , ResponseHandler resph ) throws IOException { if ( resph . exception != null ) { resph . exception . fillInStackTrace ( ) ; throw resph . exception ; } if ( resph . eof ) return 0 ; byte [ ] dummy = new byte [ ( int ) num ] ; int rcvd = read ( dummy , 0 , ( int ) num , resph , 0 ) ; if ( rcvd == - 1 ) return 0 ; else return rcvd ; }
skips a number of bytes in the master stream.
skips a number of bytes in the master stream .