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
base64_decode Decode a Base64 encoded string.
base64_encode Encode a bytes (or a str) value using Base64.
bytes Create a new bytes value.
is_bytes Test if a given value is of type bytes.