Interpret a comma seperated list of ints as a string

Getting input like 100,101,102,103 and knowing it is supposed to represent characters but all you have is the bytes can be annoying, so here we go a quick way of writing it out as a text file."out.txt", "w") do |f|
  content ="bytes.csv").read

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.