تبدیل یک رشته، به آرایهای از بایتها:
// String text = "www.FullKade.Com"; byte[] byteArray = fullkade.getBytes(); //
تبدیل آرایهای از بایتها به یک رشته:
// String text; try { text = new String(byteFullKade, "UTF-8"); } catch (UnsupportedEncodingException e) { e.printStackTrace(); } //
نظرات ثبت شده بدون دیدگاه