Interface BufferAccess<A>

    • Method Detail

      • isDirect

        boolean isDirect()
        Determine if the underlying Buffer is allocated direct (outside of the JVM).
        Returns:
        true if the Buffer is direct.
        See Also:
        Buffer.isDirect()
      • isReadOnly

        boolean isReadOnly()
        Determine if data can be read only and not written
        Returns:
        See Also:
        Buffer.isReadOnly()
      • getNumBytesPerEntity

        int getNumBytesPerEntity()
        Get number of bytes for one entity in this BufferAccess. This usually retrieves a static field.
        Returns:
        number of bytes
      • newInstance

        A newInstance​(java.nio.ByteBuffer buffer,
                      boolean isValid)
        Create a new instance from a ByteBuffer
        Parameters:
        buffer -
        isValid -
        Returns: