Class Buffer


  • public class Buffer
    extends Object
    Provides utilities related to the use of directly allocated ByteBuffer instances with native code.
    • Constructor Detail

      • Buffer

        public Buffer()
    • 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