function arrayToString(array) {
	  var ret="";
	  if (toType(array)=='arraybuffer')
	  	array=new Uint8Array(array);
	  return String.fromCharCode.apply(null, array);
	}
/* convert a uint8array or arraybuffer to a string */
convert a uint8array or arraybuffer to a string
convert a uint8array or arraybuffer to a string
function arrayToString(array) {
	  var ret="";
	  if (toType(array)=='arraybuffer')
	  	array=new Uint8Array(array);
	  return String.fromCharCode.apply(null, array);
	}
function arrayToString ( array ) { var ret = "" ; if ( toType ( array ) == 'arraybuffer' ) array = new Uint8Array ( array ) ; return String . fromCharCode . apply ( null , array ) ; }
convert a uint8array or arraybuffer to a string
convert a uint8array or arraybuffer to a string