public final class ArrayBufferNative extends JavaScriptObject implements ArrayBuffer
ArrayBuffer.| Modifier | Constructor and Description |
|---|---|
protected |
ArrayBufferNative() |
| Modifier and Type | Method and Description |
|---|---|
int |
byteLength()
The length of the
ArrayBuffer in bytes, which does not change. |
static ArrayBufferNative |
create(int length) |
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toStringpublic static ArrayBufferNative create(int length)
length - ArrayBuffer instancepublic int byteLength()
ArrayBufferArrayBuffer in bytes, which does not change.byteLength in interface ArrayBuffer