2022年8月14日

Netty - NIO之ByteBuffer

摘要: 一、ByteBuffer使用 二、ByteBuffer结构 三、ByteBuffer常见API 3.1 分配空间 allocate V.S. allocateDirect 3.2 String ByteBuffer互相转换 String 转换为 Bytebuffer Bytebuffer 转换为 S 阅读全文

posted @ 2022-08-14 23:30 frank_cui 阅读(52) 评论(0) 推荐(0)

Netty - NIO基础

摘要: 一、NIO的三大组件 1.1 Channel 常见的Channel有: FileChannel -- 文件传输通道 DatagramChannel -- UDP数据传输通道 SocketChannel -- TCP数据传输通道(客户端,服务器端通用) ServerSocketChannel -- T 阅读全文

posted @ 2022-08-14 17:22 frank_cui 阅读(44) 评论(0) 推荐(0)

导航

levels of contents