刚刚学习java文件流的输入输出,请教各位大神,已知输入文件流byte[]的编码,实现将其转码为UTF-8编码并输出为文件流[].public static byte[] filebyteToUTF8(byte[] inputFilebyte){}
String s = new String(inputFilebyte, "输入的编码"); return s.getBytes("utf-8")
2.1m questions
2.1m answers
31 comments
48.5k users