Closed dreamCirno closed 2 years ago
类似的问题:protobuf-lua序列化的数据传入C#丢失解决办法
使用环境是 xLua。 配套使用 Encoding.Unicode.GetString、Encoding.Unicode.GetBytes 方法。目前看起来能够解决我的问题。 想了解是否有更好的解决方式。
更新:改用 Convert.ToBase64String、Convert.FromBase64String 方式可以解决。
类似的问题:protobuf-lua序列化的数据传入C#丢失解决办法