This is the ThingsDB documentation for version v0, click here for the latest version!

bytes

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.

Function

bytes(value)

Arguments

Argument Type Description
value any (optional) The value where to create a bytes value for.