Java 中怎么创建 ByteBuffer?

byte[] bytes = new byte[10];

ByteBuffer buf = ByteBuffer.wrap(bytes);

posted @ 2020-06-13 16:10  咔啡  阅读(794)  评论(0编辑  收藏  举报