content/flux/v0/stdlib/contrib/bonitoo-io/hex/bytes.md
hex.bytes() converts a hexadecimal string to bytes.
(v: string) => bytes
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
({{< req >}}) String to convert.
import "contrib/bonitoo-io/hex"
hex.bytes(v: "FF5733")// Returns [255 87 51] (bytes)