Skip to content

encodeBase64 JavaScriptDart

지정된 문자열을 Base64로 인코딩합니다.

Parameters

  • str::string

Returns

string

Examples

javascript
encodeBase64('this is test'); // Returns 'dGhpcyBpcyB0ZXN0'

Released under the MIT License