common/src/main/java/HTTPClient/MD4.java
/**
     * Convert an array of byte's into an array of int's (little endian).
     *
     * @param buffer the array of bytes to convert
     * @param off    the offset in <var>buffer</var> to start at
     * @param len    the length of <var>buffer</var>; must be a multiple of 4
     * @return an array of int
     */
Convert an array of byte's into an array of int's (little endian).
@param buffer the array of bytes to convert
@param off    the offset in buffer to start at
@param len    the length of buffer; must be a multiple of 4
@return an array of int
Convert an array of byte ' s into an array of int ' s ( little endian ) . @param buffer the array of bytes to convert @param off the offset in buffer to start at @param len the length of buffer ; must be a multiple of 4 @return an array of int
private static final int[] decode(byte buffer[], int off, int len)
    {
	int   ilen = len >>> 2;
	int[] out  = new int[ilen];
	for (int dst=0, src=off; dst<ilen; dst++)
	{
	    out[dst] =  (buffer[src++] & 0xff) |
		       ((buffer[src++] & 0xff) << 8) |
		       ((buffer[src++] & 0xff) << 16) |
		       ((buffer[src++] & 0xff) << 24);
	}
	return out;
    }
private static final int [ ] decode ( byte buffer [ ] , int off , int len ) { int ilen = len >>> 2 ; int [ ] out = new int [ ilen ] ; for ( int dst = 0 , src = off ; dst < ilen ; dst ++ ) { out [ dst ] = ( buffer [ src ++ ] & 0xff ) | ( ( buffer [ src ++ ] & 0xff ) << 8 ) | ( ( buffer [ src ++ ] & 0xff ) << 16 ) | ( ( buffer [ src ++ ] & 0xff ) << 24 ) ; } return out ; }
Convert an array of byte's into an array of int's (little endian).
Convert an array of byte ' s into an array of int ' s ( little endian ) .