Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Ext.util.base64 (encode/decode)

  1. #11
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    330
    Vote Rating
    1
      0  

    Default

    Hm - the code doesn't seem to work like I thought. I am creating a ByteArray of a word-file and giving it to the encode function. When I decode it and writing the bytearray back to the hdd, the size is bigger and the file cannot be opened

    What am I doing wrong?! Isn't it possible to encode a ByteArray to base64? How would you encode an exe-file to base64?

  2. #12
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    330
    Vote Rating
    1
      0  

    Default

    Hi guys,

    I rewrote the function, so that I could encode and decode ByteArrays. The code can be found here: http://www.extjs.com/forum/showthrea...635#post430635

  3. #13
    Sencha User
    Join Date
    Mar 2012
    Posts
    211
    Vote Rating
    0
      0  

    Default

    Hi Animal
    Could you tell me Where to find the base 64 encode funtion in Extjs?

    Thank you

  4. #14
    Sencha User Misiu's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    261
    Vote Rating
    79
      0  

    Default

    Base64 is currently not included in ExtJS SDK.
    But there are many ready-to-use extensions, just search forum

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •