Skip to content

Commit

Permalink
Update codec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
caracal-js authored Jul 30, 2021
1 parent d545065 commit 0acbf33
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/codec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// -------------------------------------------------------------
// WARNING: this file is used by both the client and the server.
// Do not use any browser or node-specific API!
// -------------------------------------------------------------
exports.xor = {
encode(str){
if (!str) return str;
Expand Down Expand Up @@ -63,4 +67,4 @@ exports.base64 = {
};
return bin;
},
};
};

0 comments on commit 0acbf33

Please sign in to comment.