decodeXml¶
Canonical path: o6.decodeXml
decodeXml
¶
Decode an XML-encoded OPC UA value.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
bytes | str
|
The OPC UA XML representation to read. |
required |
datatype
|
type[_NativeT]
|
The expected type. |
required |
Returns:
| Type | Description |
|---|---|
_NativeT
|
The decoded value of type |
Raises:
| Type | Description |
|---|---|
StatusCodeError
|
|