Java 中怎么创建 ByteBuffer?

byte[] bytes = new byte[10];

ByteBuffer buf = ByteBuffer.wrap(bytes);

原文地址:https://www.cnblogs.com/programb/p/13021000.html