我正在处理一些代码,它将字符串转换为byte[],然后从byte[]转换为String (一个字符串,它是原始字符串的二进制表示形式),然后我假设要对该字符串做一些操作。当我尝试将字符串转换为byte[],并将byte[]转换为原始字符串时,有些东西不起作用。byte[] binary = "Example".getBytes(StandardCharsets.UTF_8);
String x = new String</em
java.util.logging.Level; public static void main(String+","); // Now we want to retrieve the file from the database as a stringfos = new FileOutputStream(someFile);