public interface ArrayBuffer
ArrayBuffer
is a data type that is used to represent a generic, fixed-length binary data buffer. You can't directly manipulate the contents of an ArrayBuffer
; instead, you create an ArrayBufferView
object which represents the buffer in a specific format, and use that to read and write the contents of the buffer.Modifier and Type | Method and Description |
---|---|
int |
getByteLength()
The size, in bytes, of the array.
|
ArrayBuffer |
slice(int begin) |
ArrayBuffer |
slice(int begin,
int end) |
int getByteLength()
ArrayBuffer slice(int begin)
ArrayBuffer slice(int begin, int end)
Copyright © 2016. All rights reserved.