title: An efficient way to Base64 encode a byte array?
body: <p>I have a <code>byte[]</code> and I'm looking for the most efficient way to base64 encode it.  </p>
  
  <p>The problem is that the built in .Net method <code>Convert.FromBase64CharArray</code> requires a <code>char[]</code> as an input, and converting my <code>byte[]</code> to a <code>char[]</code> just to convert it again to a base64 encoded array seems pretty stupid.</p>
  
  <p>Is there any more direct way to do it?</p>
  
  <p>[[EDIT:]] I'll expaling what I want to acheive better - I have a <code>byte[]</code> and I need to  return a new base64 encoded <code>byte[]</code></p>