pdcomm::opcua::bytes
Function
Borrows the bytes of a string as a ::pdcomm_opcua_bytes view.
inline pdcomm_opcua_bytes bytes(const std::string& v)Parameters
| Name | Description |
|---|---|
v | Source text, usually UTF-8. |
Returns
A view of v without a terminator; it is valid only while v is alive and unchanged. Never pass a temporary string.