Java tutorial
//package com.java2s; public class Main { public static String getStringByByteArray(byte[] b) { return new String(b); } }