Class Buffer
java.lang.Object
io.netty.internal.tcnative.Buffer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longaddress(ByteBuffer buf) Returns the memory address of the ByteBuffer.static longsize(ByteBuffer buf) Returns the allocated memory size of the ByteBuffer.
-
Constructor Details
-
Buffer
private Buffer()
-
-
Method Details
-
address
Returns the memory address of the ByteBuffer.- Parameters:
buf- Previously allocated ByteBuffer.- Returns:
- the memory address.
-
size
Returns the allocated memory size of the ByteBuffer.- Parameters:
buf- Previously allocated ByteBuffer.- Returns:
- the allocated memory size
-