All Components

encodeBase64

Encodes the provided string as Base64

import { encodeBase64 } from '@progress/kendo-file-saver';

console.log(encodeBase64("Hello World!"));

Parameters

plainText string

The plain text to encode, may contain UTF-8 symbols

Returns

string The Base64-encoded string

In this article