Class Guacamole.ArrayBufferWriter
Defined in: ArrayBufferWriter.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Guacamole.ArrayBufferWriter(stream)
A writer which automatically writes to the given output stream with arbitrary
binary data, supplied as ArrayBuffers.
|
Method Attributes | Method Name and Description |
---|---|
sendData(data)
Sends the given data.
|
|
sendEnd()
Signals that no further text will be sent, effectively closing the
stream.
|
Event Attributes | Event Name and Description |
---|---|
onack(status)
Fired for received data, if acknowledged by the server.
|
Class Detail
Guacamole.ArrayBufferWriter(stream)
A writer which automatically writes to the given output stream with arbitrary
binary data, supplied as ArrayBuffers.
- Parameters:
- {Guacamole.OutputStream} stream
- The stream that data will be written to.
Method Detail
sendData(data)
Sends the given data.
- Parameters:
- {ArrayBuffer|TypedArray} data
- The data to send.
sendEnd()
Signals that no further text will be sent, effectively closing the
stream.
Event Detail
onack(status)
Fired for received data, if acknowledged by the server.
- Parameters:
- {Guacamole.Status} status
- The status of the operation.