# File lib/url_safe_base64.rb, line 11
  def decode64(str)
    str += '=' * (4 - str.length.modulo(4))
    Base64.decode64(str.tr('-_','+/'))
  end