Commit 0dc7858f authored by Medicean's avatar Medicean

(Remove:Setting) 移除编码管理创建解码器时,模版中的 decode_str 方法

parent fa068c40
......@@ -531,14 +531,6 @@ module.exports = {
}
\`.replace(/\\n\\s+/g, '');
},
/**
* 解码字符串
* @param {string} data 要被解码的字符串
* @returns {string} 解码后的字符串
*/
decode_str: (data, ext={}) => {
return Buffer.from(data, 'base64').toString();
},
/**
* 解码 Buffer
* @param {string} data 要被解码的 Buffer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment