- 438 名前:デフォルトの名無しさん mailto:sage [2008/04/18(金) 14:42:42 ]
- FileChannelを使ってファイルからintの値を取り出そうとしているのですが
具体的な方法がわかりません FileChannel channel = new FileInputStream("hoge.hoge").getChannel(); ByteBuffer bb = ByteBuffer.allocate(4); channel.read(bb, seekpoint); IntBuffer ib = bb.asIntBuffer(); ib.get(); これじゃ取り出せないのですがどうすればいいのでしょう?
|

|