This the function to convert byte array to string:
//eg. byte[] byteArray = new byte[] {87, 79, 87, 46, 46, 46};public static String convertByteArrayToString(byte[] byteArray) { String value = new String(byteArray); return value; }
No comments:
Post a Comment