I was ready to develop an internal communication protocol, and tried to use XML or JSON as a serialization mechanism, but the text mode is less efficient, and lead to a large volume of packets. So, I hope to use a binary serialization encoding mechanism. However, I'm looking for a long time, could not find cross-language, Delphi-supported mechanism.
Google Protocol Buffers and MessagePack are the most efficient schemes around, unfortunately there very few ports to Delphi at this moment.
If you are willing to implement for yourself (messagepack is really simple), I suggest you hack write() and parse() functions of existing libraries like SuperObject.
You will end up with a very decent library without much effort.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With