y‰SŽÒzJavaŽ¿–⥑ ..
[
2ch
|
¥Menu
]
¡ƒRƒsƒyƒ‚[ƒh
ƒXƒŒ‚ð’Êí•\ަ
ƒIƒvƒVƒ‡ƒ“ƒ‚[ƒh
‚±‚̽گÄÞ‚ÌURL
¡€–ÚƒeƒLƒXƒg
17:ƒfƒtƒHƒ‹ƒg‚Ì–¼–³‚µ‚³‚ñ 07/06/27 13:31:04 >>16 ‚±‚ꂾIiEÍEj²²!! 18:ƒfƒtƒHƒ‹ƒg‚Ì–¼–³‚µ‚³‚ñ 07/06/27 13:47:28 import java.io.FileInputStream; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; public class GetBytesTest{ public static void main(String[] args) throws Exception{ FileInputStream inStream = new FileInputStream(hfilenameh); FileChannel channel = inStream.getChannel(); ByteBuffer buffer = ByteBuffer.allocate((int)channel.size()); channel.read(buffer); buffer.clear(); byte[] bytes = new byte[buffer.capacity()]; buffer.get(bytes); channel.close(); } } 19:ƒfƒtƒHƒ‹ƒg‚Ì–¼–³‚µ‚³‚ñ 07/06/27 13:48:17 http://www.itarchitect.jp/beginners/-/46269-1.html http://www.itarchitect.jp/beginners/-/46269-2.html http://www.itarchitect.jp/beginners/-/46269-3.html http://www.itarchitect.jp/beginners/-/46269-4.html http://www.itarchitect.jp/beginners/-/46269-5.html http://www.itarchitect.jp/beginners/-/46269-6.html
ŽŸƒy[ƒW
ÅVƒŒƒX•\ަ
ƒXƒŒƒbƒh‚ÌŒŸõ
—ÞŽ—ƒXƒŒˆê——
˜b‘è‚̃jƒ…[ƒX
‚¨‚Ü‚©‚¹ƒŠƒXƒg
¥ƒIƒvƒVƒ‡ƒ“‚ð•\ަ
ƒŒƒXƒWƒƒƒ“ƒv
mixiƒ`ƒFƒbƒNI
Twitter‚É“Še
ƒIƒvƒVƒ‡ƒ“
‚µ‚¨‚è‚ð‹²‚Þ
ƒXƒŒƒbƒh‚É‘ž
ƒXƒŒƒbƒh‚̈ꗗ
‰É‚‚Ԃµ2ch
5097“ú‘O‚ÉXV/271 KB
’S“–:undef