void getResultant(Object buf, int offset, int count) throws MPIException { char[] tempArray = (char[]) buf; System.arraycopy(arr, offset, tempArray, offset, count); }
void createInitialBuffer(Object buf, int offset, int count) throws MPIException { char[] tempArray = (char[]) buf; arr = new char[tempArray.length]; System.arraycopy(buf, offset, arr, offset, count); }