Here you can find the source of bytes2String(byte[] args)
public static String bytes2String(byte[] args)
//package com.java2s; //License from project: LGPL public class Main { public static String bytes2String(byte[] args) { String str = new String(args); //System.out.println("str = [" + str + "]"); return str; }/*from www . j av a2 s .c om*/ }