From 8072e45deb1d6b770fb04af868d8f512e3aa018c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=9C=B0=E5=B9=B3=E7=BA=BF?= <22250530@qq.com> Date: Mon, 31 Aug 2015 16:24:17 +0800 Subject: [PATCH] --- src/com/wentch/redkale/util/Utility.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/wentch/redkale/util/Utility.java b/src/com/wentch/redkale/util/Utility.java index cc040cb37..708d60026 100644 --- a/src/com/wentch/redkale/util/Utility.java +++ b/src/com/wentch/redkale/util/Utility.java @@ -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); }