String to []byte conversion

I’ll insist that they don’t differ, they are exactly the same array of bytes. But if you really, really need to represent them in the same way, just cast bytes to int8s as shown in my previous answer.

1 Like