Class NativeArrayBuffer

All Implemented Interfaces:
Serializable, ConstProperties, DebuggableObject, IdFunctionCall, Scriptable, SymbolScriptable

public class NativeArrayBuffer extends IdScriptableObject
A NativeArrayBuffer is the backing buffer for a typed array. Used inside JavaScript code, it implements the ArrayBuffer interface. Used directly from Java, it simply holds a byte array.
See Also:
  • Field Details

  • Constructor Details

    • NativeArrayBuffer

      public NativeArrayBuffer()
      Create an empty buffer.
    • NativeArrayBuffer

      public NativeArrayBuffer(double len)
      Create a buffer of the specified length in bytes.
  • Method Details