Class Guacamole.ArrayBufferReader
Defined in: ArrayBufferReader.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Guacamole.ArrayBufferReader(stream)
A reader which automatically handles the given input stream, returning
strictly received packets as array buffers.
|
Event Attributes | Event Name and Description |
---|---|
ondata(buffer)
Fired once for every blob of data received.
|
|
onend()
Fired once this stream is finished and no further data will be written.
|
Class Detail
Guacamole.ArrayBufferReader(stream)
A reader which automatically handles the given input stream, returning
strictly received packets as array buffers. Note that this object will
overwrite any installed event handlers on the given Guacamole.InputStream.
- Parameters:
- {Guacamole.InputStream} stream
- The stream that data will be read from.
Event Detail
ondata(buffer)
Fired once for every blob of data received.
- Parameters:
- {ArrayBuffer} buffer
- The data packet received.
onend()
Fired once this stream is finished and no further data will be written.