Class JSDataViewObject

All Implemented Interfaces:
com.oracle.truffle.api.interop.TruffleObject

public final class JSDataViewObject extends JSArrayBufferViewBase
  • Constructor Details

    • JSDataViewObject

      protected JSDataViewObject(com.oracle.truffle.api.object.Shape shape, JSDynamicObject proto, JSArrayBufferObject arrayBuffer, int length, int offset)
  • Method Details

    • getClassName

      public com.oracle.truffle.api.strings.TruffleString getClassName()
      Description copied from class: JSDynamicObject
      The [[Class]] internal property. For ES5, this is the second part of what Object.prototype.toString.call(myObj) returns, e.g. "[object Array]".
      Overrides:
      getClassName in class JSNonProxyObject
    • getByteLengthFixed

      public int getByteLengthFixed()
    • getByteLength

      public int getByteLength()