xLua icon indicating copy to clipboard operation
xLua copied to clipboard

byte[]在传值时自动转成string,导致部分数据异常,lua-protobuf解析时异常。

Open yang1339 opened this issue 7 months ago • 1 comments

在lua-protobuf解析时,大部分消息是没问题的,少量消息,尤其是带有中文时,经常出现问题 会报错:un-finished bytes (len 42 at offset 21),有些人遇到解决了,但是方案都不是很明确 哪位大佬能给个解决方案吗?

就算用base64处理后在lua中解出来,但是只要在lua里面传值,还是会转成string,并没有解决问题

有哪位大佬解决过这个问题~

yang1339 avatar Jun 29 '24 11:06 yang1339