Previous topic

Profiler

Next topic

HTTP

This Page

IO

  • ファイル全部読み込む
int length=(int)f.length();
byte[] buf = new byte[length];
File f=new File(path);
FileStream fs=new FileStream(f);
fs.read(buf);
fs.close();
inserted by FC2 system