lua-protobuf icon indicating copy to clipboard operation
lua-protobuf copied to clipboard

请教:lua5.14 版本,某一个字段 int64类型 值过大如何按 string 获取???

Open bugwang opened this issue 3 years ago • 1 comments

请教:有了解的吗。对方返回的int64类型。 lua 要判断匹配

目前想到,值过大 ,可以按string 匹配。有了解的吗?

bugwang avatar Aug 31 '22 10:08 bugwang

看文档,pb.option "int64_as_string"

bugwang @.***>于2022年8月31日 周三18:26写道:

请教:有了解的吗。对方返回的int64类型。 lua 要判断匹配

目前想到,值过大 ,可以按string 匹配。有了解的吗?

— Reply to this email directly, view it on GitHub https://github.com/starwing/lua-protobuf/issues/217, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA36MZ7MDBD3LT3IH6DUSLV34XOBANCNFSM6AAAAAAQBHRGI4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- regards, Xavier Wang.

starwing avatar Aug 31 '22 18:08 starwing

thanks

bugwang avatar Oct 08 '22 08:10 bugwang