What is the most efficient way to convert to binary and back in C#?
- by Saad Imran.
I'm trying to write a general purpose socket server for a game I'm working on. I know I could very well use already built servers like SmartFox and Photon, but I wan't to go through the pain of creating one myself for learning purposes.
I've come up with a BSON inspired protocol to convert the the basic data types, their arrays, and a special…