Package org.apache.tomcat.jni
Class Buffer
java.lang.Object
org.apache.tomcat.jni.Buffer
Provides utilities related to the use of directly allocated
ByteBuffer
instances with native code.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
address
(ByteBuffer buf) Returns the memory address of the ByteBuffer.
-
Constructor Details
-
Buffer
public Buffer()
-
-
Method Details
-
address
Returns the memory address of the ByteBuffer.- Parameters:
buf
- Previously allocated ByteBuffer.- Returns:
- the memory address
-