     {
         var result:ByteArray = new ByteArray();
 
-		var oldPosition:uint = data.position;	 
-		data.position = 0;	// technically, shouldn't need to set this, but carrying over from previous implementation
-		result.writeBytes(data, 0, data.length);		
-		data.position = oldPosition;
-		result.position = 0;
-		
+        var oldPosition:uint = data.position;    
+        data.position = 0;  // technically, shouldn't need to set this, but carrying over from previous implementation
+        result.writeBytes(data, 0, data.length);        
+        data.position = oldPosition;
+        result.position = 0;
+        
         filled = 0;
         return result;
     }

     *  @private 
     *  Used for accessing localized Error messages.
     */
	private var resourceManager:IResourceManager =
									ResourceManager.getInstance();

    private static const ESCAPE_CHAR_CODE:Number = 61; // The '=' char


        data = new ByteArray();
    }

    //--------------------------------------------------------------------------
    //
    //  Methods
    //
    //--------------------------------------------------------------------------

    /**
     * Decodes a Base64 encoded String and adds the result to an internal
     * buffer. Strings must be in ASCII format. 
     * 
     * <p>Subsequent calls to this method add on to the internal
     * buffer. After all data have been encoded, call <code>toByteArray()</code>
     * to obtain a decoded <code>flash.utils.ByteArray</code>.</p>
     * 
     * @param encoded The Base64 encoded String to decode.
     *  
