BinaryFormatter is an Fast, Lightweight Binary serialization/deserialization library for Unity projects.
- Serializing Collections: Lists, Dictionaries, IEnumerable
- Serializing KeyValuePair
- Serializing ISerializable
- Serializing Multi-Dimensional Arrays
- Surrogate Serialization
- Serializing Almost anything (Automatically serializes public fields and properties)
- Deserializing IDeserializationCallback
- Fast and Helpful Customer Support
- Free & Open Source
- Easy to Use
- Cross Platform (Let us know if you have any problem with any platform)
Just add
using BayatGames.Serialization.Formatters.Binary;
then you are ready to go.
BinaryFormatter provides some static methods for fast serialization of objects to binary:
using BayatGames.Serialization.Formatters.Binary;
...
byte[] buffer = BinaryFormatter.SerializeObject ("Hello World");
MIT @ Bayat Games
Made with ❤️ by Bayat Games