New to KendoReact? Start a free 30-day trial
plainText
encodeBase64
Encodes the provided string as Base64-encoded data.
js
import { encodeBase64 } from '@progress/kendo-file-saver';
console.log(encodeBase64("Hello World!"));
Parameters
plainText string
The plain text to encode. Might contain UTF-8 symbols.
Returns
string
—The Base64-encoded string.