80,351
社区成员
发帖
与我相关
我的任务
分享
File file = new File(dir);
int size = (int) file.length();
byte[] buf = new byte[size];
fis = new FileInputStream(file);
//dis = new DataInputStream(fis);
while(fis.read(buf) != -1)
{
}
for(int i =0;i< 32;i ++)
{
Log.d("data"+i,""+buf[i]);
}