parent
b29fa3d163
commit
725d2e1231
|
@ -32,7 +32,7 @@ var __inc__ = 4096
|
|||
/**
|
||||
* [base64encode base64编码]
|
||||
* @param {Str/Num/Buffer} str [要编码的字符串]
|
||||
* @param {bool} urlFriendly [是否对URL友好,默认否,是则会把+转成-,/转成_]
|
||||
* @param {bool} urlFriendly [是否对URL友好, 默认否, 是则会把+转成-, /转成_]
|
||||
*/
|
||||
export function base64encode(str, urlFriendly) {
|
||||
var buf, str64
|
||||
|
|
Loading…
Reference in New Issue