Sorry I forgot an example:

 

function base64encode(text:String):String {

            var ba:ByteArrayEx = new ByteArrayEx();

            ba.writeUTFBytes(text);                  // Fill ByteArray with
text

            ba.base64encode();

            ba.position = 0;

            return ba.readUTFBytes(ba.length);

}

 

Harald

 

 

  _____  

Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im
Auftrag von Harald Dehn
Gesendet: Mittwoch, 21. Februar 2007 22:06
An: flexcoders@yahoogroups.com
Betreff: AW: [flexcoders] Re: WebService & base64Binary

 

We extended the ByteArray Class with a base64 decoder and encoder.

 

Harald

 

  _____  

Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im
Auftrag von Cato Paus
Gesendet: Mittwoch, 21. Februar 2007 17:11
An: flexcoders@yahoogroups.com
Betreff: [flexcoders] Re: WebService & base64Binary

 

Hi have you been on this page http://www.bytearra <http://www.bytearray.org>
y.org
they are talking about some Base64.as ...

hope it helps

Cato Paus

--- In [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com,
John Starfire <[EMAIL PROTECTED]> wrote:
>
> I don't really know how to deal with an image, encoded with
> base62Binary, that I receive from a webservice (e.g.
> http://www.webservi <http://www.webservicex.net/barcode.asmx>
cex.net/barcode.asmx).
> 
> Is there a chance that I can decode it using Actionscript?
> 
> Thanks for your help!
> //Jo
>

 

Reply via email to