Class NativeArrayBufferView

All Implemented Interfaces:
Serializable, ConstProperties, DebuggableObject, IdFunctionCall, Scriptable, SymbolScriptable
Direct Known Subclasses:
NativeDataView, NativeTypedArrayView

public abstract class NativeArrayBufferView extends IdScriptableObject
This class is the abstract parent for all views of the array. It shows a view of the underlying NativeArrayBuffer. Many views may simultaneously share the same buffer, and changes to one will affect all.
See Also:
  • Field Details

    • arrayBuffer

      protected final NativeArrayBuffer arrayBuffer
      Many view objects can share the same backing array
    • offset

      protected final int offset
      The offset, in bytes, from the start of the backing array
    • byteLength

      protected final int byteLength
      The length, in bytes, of the portion of the backing array that we use
    • MAX_INSTANCE_ID

      protected static final int MAX_INSTANCE_ID
      See Also:
  • Constructor Details

    • NativeArrayBufferView

      public NativeArrayBufferView()
    • NativeArrayBufferView

      protected NativeArrayBufferView(NativeArrayBuffer ab, int offset, int byteLength)
  • Method Details