Encode bytes as base64
The bytes to encode. A string is encoded as UTF-8
Base64 encoded string
Throws an Error on failure; wrap calls in try/catch to handle it.
Encode bytes as base64