Class: ArrayBufferReader

Guacamole.ArrayBufferReader(streamnon-null)

new ArrayBufferReader(streamnon-null)

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: