JAVA聊天程序最好用什么IO流
展开全部
InputStream in = new InputStream(); //输入流基类,输入字节流
OutputStream out = new OutputStream(); //输出流基类,输出字节流耐宽
BufferedReader = new InputStreamReader(in)拿猛;
BufferedOut = new OutputStreamReader(out);
/昌敏亮/InputStreamReader,OutputStreamReader是字节流向字符流转换的桥梁。
OutputStream out = new OutputStream(); //输出流基类,输出字节流耐宽
BufferedReader = new InputStreamReader(in)拿猛;
BufferedOut = new OutputStreamReader(out);
/昌敏亮/InputStreamReader,OutputStreamReader是字节流向字符流转换的桥梁。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询