Skip to content

Instantly share code, notes, and snippets.

View abstractron's full-sized avatar

Abstractron Systems abstractron

View GitHub Profile
@abstractron
abstractron / Base64.as
Created September 23, 2012 02:43 — forked from activeknowledge/Base64.as
TMX Loader Starling Extension
/*
* Copyright (C) 2012 Jean-Philippe Auclair
* Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
* Base64 library for ActionScript 3.0.
* By: Jean-Philippe Auclair : http://jpauclair.net
* Based on article: http://jpauclair.net/2010/01/09/base64-optimized-as3-lib/
* Benchmark:
* This version: encode: 260ms decode: 255ms
* Blog version: encode: 322ms decode: 694ms
* as3Crypto encode: 6728ms decode: 4098ms