code: function chars_to_bytes(ac) {
          var retval = []
          for (var i = 0; i < ac.length; i++) {
              retval = retval.concat(str_to_bytes(ac[i]))
          }
          return retval
      }
docs: convert array of chars to array of bytes