Class Buffer


  • public final class Buffer
    extends Object
    • 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.
      • size

        public static long size​(ByteBuffer buf)
        Returns the allocated memory size of the ByteBuffer.
        Parameters:
        buf - Previously allocated ByteBuffer.
        Returns:
        the allocated memory size