Learn how to evaluate and integrate the VNC SDK
DataBuffer¶
-
class
vncsdk.DataBuffer¶ Buffer containing data managed by the SDK.
Constructor Summary¶
| Modifier and Type | Method and Description |
|---|---|
__init__(data) Creates a data buffer containing a copy of the given data. |
Method Summary¶
| Modifier and Type | Method and Description |
|---|---|
Destroys the data buffer. |
|
| bytes or None |
Gets the data contained in the buffer. |
Constructor¶
-
vncsdk.DataBuffer.__init__(data)¶ Creates a data buffer containing a copy of the given data.
For more information, see
vnc_DataBuffer_create().Parameters: data (bytes) –
Methods¶
-
DataBuffer.destroy()¶ Destroys the data buffer.
For more information, see
vnc_DataBuffer_destroy().
-
DataBuffer.get_data()¶ Gets the data contained in the buffer.
For more information, see
vnc_DataBuffer_getData().Return type: bytes or None