Here you can find the source of toString(byte[] buffer)
Parameter | Description |
---|---|
The | string to be format. |
public static String toString(byte[] buffer)
//package com.java2s; public class Main { /**/* w w w. ja v a 2s .c om*/ * Method convert byte[] to String * * @param The string to be format. * */ public static String toString(byte[] buffer) { if (null == buffer) return null; else return new String(buffer); } }