类 Buffer


  • public final class Buffer
    extends java.lang.Object
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static long address​(java.nio.ByteBuffer buf)
      Returns the memory address of the ByteBuffer.
      static long size​(java.nio.ByteBuffer buf)
      Returns the allocated memory size of the ByteBuffer.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • address

        public static long address​(java.nio.ByteBuffer buf)
        Returns the memory address of the ByteBuffer.
        参数:
        buf - Previously allocated ByteBuffer.
        返回:
        the memory address.
      • size

        public static long size​(java.nio.ByteBuffer buf)
        Returns the allocated memory size of the ByteBuffer.
        参数:
        buf - Previously allocated ByteBuffer.
        返回:
        the allocated memory size