davidfowl / BedrockFramework

High performance, low level networking APIs for building custom servers and clients.
MIT License
1.05k stars 153 forks source link

Framing - Variable size length fielded protocol #132

Open adamradocz opened 2 years ago

adamradocz commented 2 years ago

There are framing protocols that are prefixed with a header object, so the simple length prefix protocol is not good for those scenarios.

I'll happily develop a generic framing protocol to handle headers as well.

@davidfowl what do you think about it?