title: How do I convert a UTF-8 String into an array of bytes in Dart?
body: <p>I'm creating a Redis client and would like to create a byte array for sending to the Redis server. To issue commands to the server, I need to convert Dart's UTF-8 strings into a bytes which can be written to a socket.</p>
  
  <p>How can I do this?</p>