zhudusong
zhudusong
bluestacks 平台版本号3.1.20.678,引擎版本号2.10.42.9406 打印信息 ceshi start|null|null|MSM8974|msm8974|universal5420|support CameraFlash|sensorNum7|userAppNum1|2:cpu:/apps 1:cpuacct:/uid/10063 |end koplayer 版本号2.0.0 打印信息 ceshi start|null|hlteatt-user|SM-N950S|Hi6210sft|androidVM_x86|unsupport CameraFlash|sensorNum13|userAppNum2|2:cpu:/ 1:cpuacct:/uid_10037/pid_2502 |end
protobuf.lua中_internal_serialize函数实现,ListFields方法遍历是无序的,会导致结果不稳定,在某些情景下无法反序列化。 local _internal_serialize = function(self, write_bytes) for field_descriptor, field_value in message_meta._member.ListFields(self) do field_descriptor._encoder(write_bytes, field_value) end end 改动:根据field的key的index排序,再进行遍历。 local _internal_serialize = function(self, write_bytes) local field_list = {} for k, v in...