1 Reply Latest reply on Jul 11, 2012 1:22 AM by kiran1989

    How to convert ByteArray to String?

    poortip87 Level 1

      Hi All!

       

      I have a query. I have an application which gives me font file as byte array. I want to convert that byte array data to a string value. I used the ByteArray.toString(). To confirm that a valid string value has been computed, I converted the string to byte array once again. But, the new byte array differs from the original one. How can I go about this..?

       

      To rephrase my question, I want to convert a byte array containing ttf font file data to a string. How?

       

      Please guide..

      Thanks!