summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/CLUtils.java
blob: c19292b6afab28e65be499a7a230dfdcd22718fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package com.mbien.opencl;

/**
 *
 * @author Michael Bien
 */
class CLUtils {

    public static String clString2JavaString(byte[] chars, int clLength) {
        return clLength==0 ? "" : new String(chars, 0, clLength-1);
    }

}