Open ido-ran opened 8 years ago
I manage to send a delimited message using the following code:
PBCodedOutputStream *codedOutput = [PBCodedOutputStream streamWithOutputStream:socketConnection.outputStream];
[codedOutput writeRawVarint32:msg.serializedSize];
[msg writeToCodedOutputStream:codedOutput];
I can try to fork this repository and add the functionality.
I'm writing a client application in iOS that uses ProtocolBuffer with this library. I have a server written with ProtobufJS, there I'm using both encodeDelimited and decodeDelimited which AFAIK write the length of the message before the message.
The problem is I could not find a match methods for length delimited in ProtoBuf-ObjC. Can you help me understand how to do that?