var Base64 = plus.android.importClass('android.util.Base64');
var bytes = Base64.decode(base64_str,Base64.NO_WRAP);
var length = bytes.plusGetAttribute('length');
上面代码bytes对象是有返回值的,但是获取的length是null,咋回事
var Base64 = plus.android.importClass('android.util.Base64');
var bytes = Base64.decode(base64_str,Base64.NO_WRAP);
var length = bytes.plusGetAttribute('length');
上面代码bytes对象是有返回值的,但是获取的length是null,咋回事
1 个回复
Jayming1024
console.log(bytes.length);