All Downloads are FREE. Search and download functionalities are using the official Maven repository.

def.js.ArrayBuffer Maven / Gradle / Ivy

The newest version!
package def.js;
/**
  * Represents a raw buffer of binary data, which is used to store data for the 
  * different typed arrays. ArrayBuffers cannot be read from or written to directly, 
  * but can be passed to a typed array or DataView Object to interpret the raw 
  * buffer as needed. 
  */
public class ArrayBuffer extends def.js.Object {
    /**
      * Read-only. The length of the ArrayBuffer (in bytes).
      */
    public double byteLength;
    /**
      * Returns a section of an ArrayBuffer.
      */
    native public ArrayBuffer slice(double begin, double end);
    native public java.lang.String $get(Symbol toStringTag);
    public static ArrayBuffer prototype;
    public ArrayBuffer(double byteLength){}
    native public static java.lang.Boolean isView(java.lang.Object arg);
    /**
      * Returns a section of an ArrayBuffer.
      */
    native public ArrayBuffer slice(double begin);
    protected ArrayBuffer(){}
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy