Message Encoding / Decoding
decanus opened this issue · comments
Write an encoder and decoder for messages that can contain arbitrary data. This will need a wire protocol. My proposal is to use something simple like:
<header-length><body-length><header><body>
where header contains:
<message-type><other-data>