This currently only works with strings, and returns its hexadecimal representation.

as_bytes(x)

Arguments

x

A string.

Value

A raw vector of bytes.

Life cycle

Raw vector functions are experimental.