kinetex - v1.0.0-rc.1
    Preparing search index...

    Function uint8ArrayToBase64

    • Encode a Uint8Array to base64 without using spread arguments — safe for arbitrarily large buffers (no call-stack size limit).

      Uses the WHATWG btoa API which is available in all target runtimes. Processes the buffer in chunks to avoid allocating a single huge string.

      Parameters

      • bytes: Uint8Array

        The buffer to encode.

      Returns string

      Base64-encoded string.