Package org.conscrypt

Class AllocatedBuffer

    • Constructor Detail

      • AllocatedBuffer

        public AllocatedBuffer()
    • Method Detail

      • nioBuffer

        public abstract java.nio.ByteBuffer nioBuffer()
        Returns the ByteBuffer that backs this buffer.
      • retain

        @Deprecated
        public AllocatedBuffer retain()
        Deprecated.
        this method is not used
        Returns the current instance for backward compatibility.
      • release

        public abstract AllocatedBuffer release()
        Returns the delegate ByteBuffer for reuse or garbage collection.
        Returns:
        this AllocatedBuffer instance