Documentation
    Preparing search index...

    Function decodeBase64

    • Decode base64 to a byte array without Buffer.

      Parameters

      • base64: string

        Standard padded base64.

      Returns Uint8Array<ArrayBufferLike> | undefined

      Decoded bytes, or undefined when the input is malformed.

      decodeBase64('aGVsbG8=')?.length === 5;