uint8-base64
    Preparing search index...

    Function encodeClassical

    • Encode bytes to base64 using a straightforward per-byte algorithm. Slower than encodeFast but kept as a reference implementation.

      Parameters

      • input: Uint8Array

        Uint8Array of raw bytes to encode.

      Returns Uint8Array

      a Uint8Array containing the base64 representation (one byte per ASCII character, padded with = to a length that is a multiple of 4).