public static void print1(String file)
throws IOException{
InputStream in = new FileInputStream(file);
int b;
int i=1;
while((b=in.read())!=-1){
System.out.print(Integer.toHexString(b)+" ");
}
in.close();
}
} public static void print(String file)
throws IOException {
InputStream in = new FileInputStream(file);
while (in.read() != -1) {
System.out.print(Integer.toHexString(in.read()) + " ");
}
in.close();
}
throws IOException{
InputStream in = new FileInputStream(file);
int b;
int i=1;
while((b=in.read())!=-1){
System.out.print(Integer.toHexString(b)+" ");
}
in.close();
}
} public static void print(String file)
throws IOException {
InputStream in = new FileInputStream(file);
while (in.read() != -1) {
System.out.print(Integer.toHexString(in.read()) + " ");
}
in.close();
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货