Class Buffer
java.lang.Object
io.netty.channel.unix.Buffer
-
Method Summary
Modifier and TypeMethodDescriptionstatic intReturns the size of a pointer.static ByteBufferallocateDirectWithNativeOrder(int capacity) Returns a newByteBufferwhich has the sameByteOrderas the native order of the machine.static voidfree(ByteBuffer buffer) Free the directByteBuffer.static longmemoryAddress(ByteBuffer buffer) Returns the memory address of the given directByteBuffer.
-
Method Details
-
free
Free the directByteBuffer. -
allocateDirectWithNativeOrder
Returns a newByteBufferwhich has the sameByteOrderas the native order of the machine. -
memoryAddress
Returns the memory address of the given directByteBuffer. -
addressSize
public static int addressSize()Returns the size of a pointer.
-