code: function(encoded) {
        var result = 0;
        var shift = 0;
  
        var encodedLength = encoded.length;
        for (var i = 0; i < encodedLength; ++i) {
          var b = encoded.charCodeAt(i) - 63;
  
          result |= (b & 0x1f) << shift;
  
          if (b < 0x20)
            break;
  
          shift += 5;
        }
  
        return result;
      }
docs: Method: decodeUnsignedInteger
  Decode one single unsigned integer from an encoded string
  
  Parameters:
  encoded - {string} An encoded string.
  
  Returns:
  {number} The decoded unsigned integer.