Package zombie.core.utils
Class BufferUtils
java.lang.Object
zombie.core.utils.BufferUtils
public final class BufferUtils
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description BufferUtils() -
Method Summary
Modifier and Type Method Description static java.nio.ByteBuffercreateByteBuffer(int int1)static voiddestroyDirectBuffer(java.nio.Buffer buffer)static voidprintCurrentDirectMemory(java.lang.StringBuilder stringBuilder)static voidsetTrackDirectMemoryEnabled(boolean boolean1)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BufferUtils
public BufferUtils()
-
-
Method Details
-
setTrackDirectMemoryEnabled
public static void setTrackDirectMemoryEnabled(boolean boolean1) -
printCurrentDirectMemory
public static void printCurrentDirectMemory(java.lang.StringBuilder stringBuilder) -
createByteBuffer
public static java.nio.ByteBuffer createByteBuffer(int int1) -
destroyDirectBuffer
public static void destroyDirectBuffer(java.nio.Buffer buffer)
-