当我通过 protoc
编译器使用 --encode
命令时,我可以通过标准输入(key:value
),但仍处于输入模式。我从来没有得到任何结果。我怎样才能得到它?
最佳答案
您必须按 Ctrl + D
才能发送传输结束字符。
关于protocol-buffers - Protocol Buffer : How to use the --encode command on console,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42481358/