
## ToByteArray {#tobytearray}

Converts the value of the property to byte array.

**Returns:** Byte array object, if type can't be converted to byte array returns empty array.

```cpp
ToByteArray()
```

