Library API
    Preparing search index...

    Function bufferToBase64Url

    • Encodes a raw Uint8Array buffer into a URL-safe Base64URL string.

      Parameters

      • buffer: Uint8Array

        The raw buffer to encode

      Returns string

      The Base64URL string representation

      const str = bufferToBase64Url(new Uint8Array([104, 105]));