Why is protocol buffer message length sent before the actual message?
PaulBernier opened this issue ยท 1 comments
https://krpc.github.io/krpc/communication-protocols/tcpip.html
Why is it necessary to send the length of the message followed by the actual message? Shouldn't Protocol Buffer already handles that by itself somehow when decoding messages?
Ok I literally just found the answer... https://developers.google.com/protocol-buffers/docs/techniques?csw=1#streaming Sorry about that :)