Bytes
Bytes can be created by casting from a string, and are displayed using hexidecimal encoding.
Conversion from other types
Since SurrealDB 2.3.0, conversions can be performed between bytes, strings, and arrays.
Byte strings
A string preceded by a b prefix can be turned into bytes as long as the string represents a hexidecimal value.