 		
 		/* Base64 string to array encoding */
 		
-		public static function bytesToBase64(aBytes) {
-			
-			var sB64Enc = "";
-			
-			for (var nMod3, nLen = aBytes.length, nUint24 = 0, nIdx = 0; nIdx < nLen; nIdx++) {
+		public static function bytesToBase64(aBytes):String {
+			
+			var sB64Enc:String = "";
+			
+			for (var nMod3:int, nLen:int = aBytes.length, nUint24:int = 0, nIdx:int = 0; nIdx < nLen; nIdx++) {
 				nMod3 = nIdx % 3;
 				if (nIdx > 0 && (nIdx * 4 / 3) % 76 === 0) { sB64Enc += "\r\n"; }
 				nUint24 |= aBytes[nIdx] << (16 >>> nMod3 & 24);

			
		};
		
		public static function putUTF16CharCode(aTarget, nChar, nPutAt) {
			
			var nIdx = nPutAt;
			
			if (nChar < 0x10000 /* 65536 */) {
				/* one element */

						
						/* transcription of the source... */
						
						for (nInptIdx = nStartIdx, nOutptIdx = 0; nOutptIdx < nOutptLen; nInptIdx += fGetInptChrSize(nChrCode), nOutptIdx++) {
							nChrCode = fGetInptChrCode(vSource, nInptIdx);
							aWhole[nOutptIdx] = nChrCode;
						}
