The function converts the characters to bytes as if they were ASCII encoded.
Convert the data to an ArrayBuffer first if you need to convert strings with
characters outside the ASCII alphabet.
Throws
Error if the input string contains a character outside of ASCII
Encode a string or a byte buffer into base64.
The function converts the characters to bytes as if they were ASCII encoded. Convert the data to an ArrayBuffer first if you need to convert strings with characters outside the ASCII alphabet.
Throws
Error if the input string contains a character outside of ASCII
Returns
a string with base64-encoded data
Since
Oracle 23.3