import java
.io
.FileInputStream
;
import java
.io
.IOException
;
import java
.io
.InputStreamReader
;
public class Test {
public static void main(String
[] args
) throws IOException
{
InputStreamReader isr
=new InputStreamReader(new FileInputStream("1.png"));
char[] chs
=new char[1024];
int len
=0;
while ((len
=isr
.read(chs
))!=-1){
System
.out
.print(new String(chs
,0,len
));
}
isr
.close();
}
}
转载请注明原文地址: https://lol.8miu.com/read-15131.html