Interface NativeParsable

All Superinterfaces:
MemorySizeable
All Known Subinterfaces:
NativeArray<T>
All Known Implementing Classes:
BBFloat1, BBFloat2, BBFloat3, BBFloat3x3, BBFloat4, BBFloat4x4, BBFloatMxN, BBFloatN, BBInt1, BBInt2, BBInt3, BBInt4, BBIntN, BBLong1, BBLong2, BBLong3, BBLong4, BBLongN, BBVector, ComplexStructure, ModTrackingStructure, PrimitiveTypeArray, Structure, StructureArray

public interface NativeParsable extends MemorySizeable
  • Method Details

    • isInitialised

      boolean isInitialised()
      Whether this NativeParsable is already backed by a buffer.
      Returns:
      true if initialised
    • getByteBuffer

      ByteBuffer getByteBuffer()
      The ByteBuffer containing the native data. May not be null if isInitialised() is true.
      Returns:
      ByteBuffer
    • getPointer

      default long getPointer()
      Get the pointer to the buffer of this NativeParsable as long.
      Returns:
      pointer to getByteBuffer()