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, toString
public static ArrayBufferNative create(int length)
length
- ArrayBuffer
instancepublic int byteLength()
ArrayBuffer
ArrayBuffer
in bytes, which does not change.byteLength
in interface ArrayBuffer
Copyright © 2016. All rights reserved.