This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function str2arr(str){ | |
var array_=new Array(); | |
for(var i = 0; i < str.length; ++i){ | |
array_[i]=str.charCodeAt(i);}; | |
return array_; | |
} | |
function hex2arr(str){ | |
var b_=new Uint8Array(); | |
eval("b_=["+str+"]"); |
NewerOlder