In Java, we can use new String(bytes, StandardCharsets.UTF_8) to convert a byte[] to a String . // string to byte[] byte[] bytes = "hello".
確定! 回上一頁