src/org/kocakosm/pitaya/util/XArrays.java
public static Byte[] toObject(byte... a)
	{
		if (a != null) {
			Byte[] w = new Byte[a.length];
			for (int i = 0; i < a.length; i++) {
				w[i] = a[i];
			}
			return w;
		}
		return null;
	}
public static Byte[] toObject(byte... a)
	{
		if (a != null) {
			Byte[] w = new Byte[a.length];
			for (int i = 0; i < a.length; i++) {
				w[i] = a[i];
			}
			return w;
		}
		return null;
	}
public static Byte [ ] toObject ( byte ... a ) { if ( a != null ) { Byte [ ] w = new Byte [ a . length ] ; for ( int i = 0 ; i < a . length ; i ++ ) { w [ i ] = a [ i ] ; } return w ; } return null ; }
Converts an array of {@code byte}s to an array of {@code Byte}s.
Returns {@code null} if the given array is {@code null}. Does not
modify the input array.

@param a the {@code byte} array to convert.

@return the corresponding {@code Byte} array.
Converts an array of { @code byte } s to an array of { @code Byte } s . Returns { @code null } if the given array is { @code null } . Does not modify the input array .