Class: ArrayBufferReader

Guacamole.ArrayBufferReader(stream)

new 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:
Name Type Description
stream Guacamole.InputStream The stream that data will be read from.
Source:

Events

ondata

Fired once for every blob of data received.
Parameters:
Name Type Description
buffer ArrayBuffer The data packet received.
Source:

onend

Fired once this stream is finished and no further data will be written.
Source: