InputStream is=new FileInputStream("in.file");
...
byte b=(byte)(is.read());
Reader r=new FileReader("in.file");
...
char c=(char)(r.read());
read(),是读byte的
黑色头发 http://heisetoufa.iteye.com
如果发现本文有误,欢迎批评指正
标签:...,字符,read,读出,char,从文件,file,new,byte From: https://blog.51cto.com/u_2543512/6231828