The bytes type can be used to store a sequence of byte values.

This code converts a string to bytes

.as_bytes = bytes("Hello ThingsDB!");


Function Description
len Return the length of the byte sequence.
Function Description
bytes Create a new bytes value.
is_bytes Test if a given value is of type bytes.