There’re a num­ber of built-in lit­eral 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:

image

Pretty cool, eh?

Share

Leave a Reply