Function b64tob64u

  • convert a Base64 encoded string to a Base64URL encoded string.

    Parameters

    • sIn: string

      Base64 encoded string

    Returns string

    Base64URL encoded string

    See

    b64utob64

    Example

    b64tob64u("ab+c3f/==") → "ab-c3f_"