我想将字符串对象转换为ByteString。我尝试使用ByteString.CopyFrom()函数进行转换,但是返回值始终为“ {Google.ProtocolBuffers.ByteString}”。为什么?我能怎么做?
我使用的功能是这样的。
结果
c# protocol-buffers protobuf-csharp-port
c# ×1
protobuf-csharp-port ×1
protocol-buffers ×1