title: Android Image 64bit Encoded Image does not get Decoded in WCF
body: <p>Hi um using both of these options one at a time to encode an image and send it over http post in android </p>
  
  <pre><code>String encodedImage = Base64.encodeToString(imageData, Base64.URL_SAFE + Base64.NO_WRAP);
  String encodedImage = Base64.encodeToString(
                                      imageData,Base64.DEFAULT);
  </code></pre>
  
  <p>It's convert the image in to encoded string sends it over http post.</p>
  
  <p>In WCF side um trying to decode the image as follows and the encoded image string comes as in encoded format.</p>
  
  <pre><code>   byte[] contents = Convert.FromBase64String(encodedImage.Trim());
  </code></pre>
  
  <p>After this it throws an exception saying</p>
  
  <pre><code>The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or a non-white space character among the padding characters.
  </code></pre>
  
  <p>what can possibly go wrong . I have a no clue of this. I will be thankful if anyone can guide me.</p>