I'm trying to convert the proto file into binary for an HTTP request payload, however, I'm receiving an error from protoc compiler tool, returning type not defined. I was not able to find any documentation on the type definitions used alongside --encode=.
I've tried specifying different types in the --encode, but the information I was finding was irrelevant. Other things I've tried specifying the proto message from the .proto file ``` message DeviceAuthRequest { }
protoc --encode=projname.auth TEST.proto > TEST.bin
Type not defined: projname.auth
protoc --encode=DeviceAuthRequest TEST.proto > TEST.bin
What the the actual types for the --encode and --decode? I have a source code and compiled code in C#. Looking for a way of crafting payload with modified data in the proto file.