Hi All,

I have issue with decode Hex String value value to String conversion.

If Input is :

687474703a2f2f7777772e676f6f676c652e6c6b2f
Here is my decode logic:

private static String hexStringToByteArray(String s) {
         int len = s.length();
         byte[] data = new byte[len / 2];
         for (int i = 0; i < len; i += 2) {
             data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16)
<< 4) + Character.digit(s.charAt(i+1), 16));
         }

         return new String(data);
 }
this one work fine with Any other java application, but For Google App
engine this doesn't work.

Anyone know why this happened?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to