code: function read(idx, size) {
  			var mv = II ? 0 : -8 * (size - 1), sum = 0, i;
  
  			for (i = 0; i < size; i++) {
  				sum |= (bin.charCodeAt(idx + i) << Math.abs(mv + i*8));
  			}
  
  			return sum;
  		}
docs: Private functions