F# – From string to byte array and back

There’re a num­ber of built-in lit­er­al types in F#, and one of the cool things you can do is to get the byte or byte array rep­re­sen­ta­tion of a char or string using the ‘B’ suf­fix, the result is the same as Encoding.ASCII.GetBytes:


Pret­ty cool, eh?