数组就像这样:
[21,23,0,0,0,0,21,255,43,154,87,32,4,13,64,7,86,52,1,23,16,57,73,1]
若是btoa([21,23,0,0,0,0,21,255,43,154,87,32,4,13,64,7,86,52,1,23,16,57,73,1])
结果如下:
"MjEsMjMsMCwwLDAsMCwyMSwyNTUsNDMsMTU0LDg3LDMyLDQsMTMsNjQsNyw4Niw1MiwxLDIzLDE2LDU3LDczLDE="
atob("MjEsMjMsMCwwLDAsMCwyMSwyNTUsNDMsMTU0LDg3LDMyLDQsMTMsNjQsNyw4Niw1MiwxLDIzLDE2LDU3LDczLDE=")
"21,23,0,0,0,0,21,255,43,154,87,32,4,13,64,7,86,52,1,23,16,57,73,1"
转过去再转回来已经变成"21,23,0,0,0,0,21,255,43,154,87,32,4,13,64,7,86,52,1,23,16,57,73,1"这样的了。。
慕勒3428872
相关分类