This is the ThingsDB documentation for version v0, click here for the latest version!
Convert a value to a byte sequence. If no value is given, an empty byte sequence is returned.
This function does not generate an event.
bytes(value)
| Argument | Type | Description |
|---|---|---|
| value | any (optional) | The value where to create a bytes value for. |