摘要: 字节缓冲区切片 直接看个例子: @Test public void test1() { byte[] bytes = new byte[]{1,2,3,4,5}; ByteBuffer byteBuffer = ByteBuffer.wrap(bytes); //使用slice之前,一般先调用pos 阅读全文
posted @ 2021-01-10 22:48 HeliusKing 阅读(3436) 评论(0) 推荐(0) 编辑