2 ms·
They don't have their own framing. ...and thus it was added. We finally had to get down to individual bytes from the network dump to try to sort it out. The
by userbinator 3y ago
They don't have their own framing.
...and thus it was added.
We finally had to get down to individual bytes from the network dump to try to sort it out.
The perils of abstraction strike again. Chances are that if you had just written the code to directly send and receive the data you wanted, since you control both ends and know exactly what the bytes will be, you'd never have run into this.
- eru 3y ago> Chances are that if you had just written the code to directly send and receive the data you wanted, since you control both ends and know exactly what the bytes will be, you'd never have run into this. Instead you would have run into different problems..
- lifthrasiir 3y agoIt's indeed a shame that protobuf has so many bit patterns available for the first byte (lowermost 3 bits can't be 6 or 7, and 4 cannot be also used alone), and some of them could have been used for a unified length-delimited framing format.