Java tutorial
//package com.java2s; public class Main { public static String byteArrayToString(byte[] paramArrayOfByte) { String str = ""; int i = paramArrayOfByte.length; for (int j = 0; j < i; j++) { int k = paramArrayOfByte[j]; str = str + String.valueOf(k); } return str; } }