
nio
sunliuser
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
channl 单向 和双向 记录1
channl | | |----------------...原创 2012-07-12 15:45:45 · 168 阅读 · 0 评论 -
ReadableByteChannel 复制到WritableByteChannel 通道 demo1
private static void channelCopy(ReadableByteChannel src,WritableByteChannel dest) throws IOException{ ByteBuffer buffer=ByteBuffer.allocate(10*1024); while(src.read(buffer)!...原创 2012-07-13 14:02:40 · 1233 阅读 · 0 评论