Skip to content

Commit

Permalink
feat:remove unuse code chinese
Browse files Browse the repository at this point in the history
  • Loading branch information
well-monkey committed Nov 22, 2022
1 parent a24554e commit 95ae737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/code.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,15 +245,15 @@ function byteArray2hexStr(byteArray) {
return str;
}

//从base64字符串中解码出原文,格式为byteArray格式
//Decode the original text from the base64 string in byteArray format
function base64DecodeFromString(string64) {
var b = new Base64();
var decodeBytes = b.decodeToByteArray(string64);
return decodeBytes;
}

//return baset64 String
//将byteArray格式数据编码为base64字符串
//Encode byteArray format data to base64 string
function base64EncodeToString(bytes) {
// var string = bytesToString(bytes);
var b = new Base64();
Expand Down

0 comments on commit 95ae737

Please sign in to comment.