Class NativeArrayBufferView

All Implemented Interfaces:
Serializable, ConstProperties, DebuggableObject, IdFunctionCall, Scriptable
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:
  • Constructor Details

    • NativeArrayBufferView

      public NativeArrayBufferView()
  • Method Details

    • getBuffer

      public NativeArrayBuffer getBuffer()
      Return the buffer that backs this view.
    • getByteOffset

      public int getByteOffset()
      Return the offset in bytes from the start of the buffer that this view represents.
    • getByteLength

      public int getByteLength()
      Return the length, in bytes, of the part of the buffer that this view represents.