Here’s what I personally use: https://paste.apache.org/fg6sw
> On Mar 13, 2022, at 5:15 PM, Hugo Ferreira <hferreira...@gmail.com> wrote: > > Hi, > > Seems that my this old function does not work with Royale: > var base64Decoder:Base64Decoder = new Base64Decoder(); > base64Decoder.decode(data); > return base64Decoder.toByteArray(); > > I also tried another Royale methods and all failed. > > For other hand I saw the new BinayData. > The BinayData it's the replace for ByteArray with probably better > performance ? > And how to convert a base64 image to BinaryData or ByteArray with Royale ?