@JsType(isNative=true,
namespace="<global>",
name="?")
public interface ArrayBufferView
extends BufferSource
| Modifier and Type | Method and Description |
|---|---|
ArrayBuffer |
buffer()
The buffer accessor property represents the ArrayBuffer referenced by the ArrayBufferView at construction time.
|
int |
byteLength()
The byteLength accessor property represents the length (in bytes) of a ArrayBufferView.
|
int |
byteOffset()
The byteOffset accessor property represents the offset (in bytes) of a ArrayBufferView from the start of its ArrayBuffer.
|
int |
length()
The length accessor property represents the length (in elements) of a ArrayBufferView.
|
@JsProperty(name="buffer") @Nonnull ArrayBuffer buffer()
@JsProperty(name="byteLength") int byteLength()
@JsProperty(name="byteOffset") int byteOffset()
@JsProperty(name="length") int length()