Two reasons: 1. I like the idea of a single static class for doing these conversions rather than instantiating an encoder/decoder every time. 2. My understanding is that this class is by far the most performant in reading and writing Base64.
On Jul 12, 2016, at 5:48 PM, Alex Harui <aha...@adobe.com> wrote: > > > On 7/12/16, 7:15 AM, "Harbs" <harbs.li...@gmail.com> wrote: > >> FYI, I just create a personal repo for parking utility classes which have >> too much overhead or don’t quite fit in the official FlexJS repo. My >> first entry is a migrated Base64 class. >> >> https://github.com/Harbs/flexjs-utils > > Interesting. Why did you not start from mx.utils.Base64Encoder/Decoder? > > -Alex >