Package org.apache.tomcat.jni
Class Buffer
- java.lang.Object
-
- org.apache.tomcat.jni.Buffer
-
public class Buffer extends Object
Provides utilities related to the use of directly allocatedByteBuffer
instances with native code.
-
-
Constructor Summary
Constructors Constructor Description Buffer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
address(ByteBuffer buf)
Returns the memory address of the ByteBuffer.
-
-
-
Method Detail
-
address
public static long address(ByteBuffer buf)
Returns the memory address of the ByteBuffer.- Parameters:
buf
- Previously allocated ByteBuffer.- Returns:
- the memory address
-
-