Class: ArrayBufferWriter

Guacamole.ArrayBufferWriter

new ArrayBufferWriter(stream)

A writer which automatically writes to the given output stream with arbitrary binary data, supplied as ArrayBuffers.
Parameters:
Name Type Description
stream Guacamole.OutputStream The stream that data will be written to.
Source:

Methods

sendData(data)

Sends the given data.
Parameters:
Name Type Description
data ArrayBuffer | TypedArray The data to send.
Source:

sendEnd()

Signals that no further text will be sent, effectively closing the stream.
Source:

Events

onack

Fired for received data, if acknowledged by the server.
Parameters:
Name Type Description
status Guacamole.Status The status of the operation.
Source: