src/main/java/com/stijndepestel/geminio/captures/SerialPortCapture.java
/**
     * Box the byte array into a wrapper class array.
     *
     * @param arr
     *            The array of the primitive types.
     * @return The array of the wrapper types.
     */
Box the byte array into a wrapper class array.
@param arr
The array of the primitive types.
@return The array of the wrapper types.
Box the byte array into a wrapper class array . @param arr The array of the primitive types . @return The array of the wrapper types .
private static Byte[] boxByteArray(final byte[] arr) {
        final Byte[] boxedBytes = new Byte[arr.length];
        for (int i = 0; i < arr.length; i++) {
            boxedBytes[i] = Byte.valueOf(arr[i]);
        }
        return boxedBytes;
    }
private static Byte [ ] boxByteArray ( final byte [ ] arr ) { final Byte [ ] boxedBytes = new Byte [ arr . length ] ; for ( int i = 0 ; i < arr . length ; i ++ ) { boxedBytes [ i ] = Byte . valueOf ( arr [ i ] ) ; } return boxedBytes ; }
Box the byte array into a wrapper class array.
Box the byte array into a wrapper class array .