Learn how to evaluate and integrate the VNC SDK
DataBuffer¶
-
vncsdk.
DataBuffer
¶ Buffer containing data managed by the SDK.
Constructor Summary¶
Modifier and Type | Method and Description |
---|---|
DataBuffer(data) Creates a data buffer containing a copy of the given data. |
Method Summary¶
Modifier and Type | Method and Description |
---|---|
Destroys the data buffer. |
|
Uint8Array or null |
Gets the data contained in the buffer. |
Constructor¶
-
class
vncsdk.
DataBuffer
(data) Creates a data buffer containing a copy of the given data.
For more information, see
vnc_DataBuffer_create()
.Arguments: - data (Uint8Array or Array<number>) –
Throws: vncsdk.VncException
on error
Methods¶
-
DataBuffer.
destroy
()¶ Destroys the data buffer.
For more information, see
vnc_DataBuffer_destroy()
.
-
DataBuffer.
getData
()¶ Gets the data contained in the buffer.
For more information, see
vnc_DataBuffer_getData()
.Return type: Uint8Array or null