Package io.github.toolfactory.jvm.util
Class BufferHandler
java.lang.Object
io.github.toolfactory.jvm.util.BufferHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ByteBufferduplicate(ByteBuffer buffer) static <T extends Buffer>
Tflip(T buffer) static <T extends Buffer>
intlimit(T buffer) static <T extends Buffer>
intposition(T buffer) static ByteBuffershareContent(ByteBuffer byteBuffer) static byte[]toByteArray(ByteBuffer byteBuffer)
-
Constructor Details
-
BufferHandler
public BufferHandler()
-
-
Method Details
-
flip
-
position
-
duplicate
-
limit
-
toByteArray