This commit is contained in:
@@ -70,7 +70,7 @@ public final class Utility {
|
|||||||
public static void println(ByteBuffer buffer) {
|
public static void println(ByteBuffer buffer) {
|
||||||
if (buffer == null || !buffer.hasRemaining()) return;
|
if (buffer == null || !buffer.hasRemaining()) return;
|
||||||
byte[] bytes = new byte[buffer.remaining()];
|
byte[] bytes = new byte[buffer.remaining()];
|
||||||
buffer.put(bytes);
|
buffer.get(bytes);
|
||||||
buffer.flip();
|
buffer.flip();
|
||||||
println(bytes);
|
println(bytes);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user