src/jpm/dg/Util.java
/**
	 * Converts from a byte array to a packed integer array.
	 * 
	 * @param b
	 * @return An integer array of a third of the size, with bytes packed in
	 *         order.
	 */
Converts from a byte array to a packed integer array.

@param b
@return An integer array of a third of the size, with bytes packed in
order.
Converts from a byte array to a packed integer array . @param b @return An integer array of a third of the size with bytes packed in order .
public static int[] byteArrayToIntArray(byte[] b) {
		int size = b.length / 3;
		System.runFinalization();
		System.gc();
		int[] result = new int[size];
		int off = 0;
		int index = 0;
		while (off < (b.length / 3) * 3) {
			result[index] = byteArrayToInt(b, off);
			index++;
			off += 3;
		}
		return result;
	}
public static int [ ] byteArrayToIntArray ( byte [ ] b ) { int size = b . length / 3 ; System . runFinalization ( ) ; System . gc ( ) ; int [ ] result = new int [ size ] ; int off = 0 ; int index = 0 ; while ( off < ( b . length / 3 ) * 3 ) { result [ index ] = byteArrayToInt ( b , off ) ; index ++ ; off += 3 ; } return result ; }
Converts from a byte array to a packed integer array.
Converts from a byte array to a packed integer array .
// Memory management
