This commit is contained in:
地平线
2015-08-31 16:24:17 +08:00
parent 5d26dcc343
commit 8072e45deb

View File

@@ -70,7 +70,7 @@ public final class Utility {
public static void println(ByteBuffer buffer) {
if (buffer == null || !buffer.hasRemaining()) return;
byte[] bytes = new byte[buffer.remaining()];
buffer.put(bytes);
buffer.get(bytes);
buffer.flip();
println(bytes);
}