title: Enocde Char string to Octet string?
body: <p>How do I encode char string to Octet string in C? For example if have:</p>
  
  <pre><code>char *string = "245732473";
  </code></pre>
  
  <p>I need to encode this string to Octet string? How can i do this? </p>