Class ArrayBuffer
The ArrayBuffer type describes a buffer used to store data for the array buffer views.
Kaazing JavaScript client library supports ArrayBuffer only if the browser supports it.
It does not provide any custom implementation of ArrayBuffer for browsers that does not support ArrayBuffer.
The recommended practice is to use either Blob or ByteBuffer
as a binary type for browsers that do not provide support for ArrayBuffer.
For details on ArrayBuffer and ArrayBufferView, click here.
Constructor Summary |
ArrayBuffer(length)
Creates a new ArrayBuffer of the given length in bytes.
|
ArrayBuffer
ArrayBuffer(length)
Creates a new ArrayBuffer of the given length in bytes.
For details, click here.
Parameters:
unsigned long length
- The length of the ArrayBuffer in bytes.