code: def _char_to_string_binary(c, align=ALIGN.LEFT, padding='-'):
      
      s_bin = mtalk.encode(c, encoding_type='binary', letter_sep=' ')
      N = len(s_bin)
      if align == ALIGN.LEFT:
          s_align = "<"
      elif align == ALIGN.RIGHT:
          s_align = ">"
      elif align == ALIGN.CENTER:
          s_align = "^"
      else:
          raise NotImplementedError("align '%s' not allowed" % align)
      s = "{0:" + padding + s_align + str(N) + "}"
      return s.format(c)
docs: >>> _char_to_string_binary('O', align=ALIGN.LEFT)
      'O----------'
  
      >>> _char_to_string_binary('O', align=ALIGN.RIGHT)
      '----------O'
  
      >>> _char_to_string_binary('O', align=ALIGN.CENTER)
      '-----O-----'