function ByteArray(){
        this.bin = [];
      }
This class lets you encode animated GIF files
Base class :  http://www.java2s.com/Code/Java/2D-Graphics-GUI/AnimatedGifEncoder.htm
@author Kevin Weiner (original Java version - kweiner@fmsware.com)
@author Thibault Imbert (AS3 version - bytearray.org)
@version 0.1 AS3 implementation