MemoryPack
lastmod 2023-01-11created 2023-01-111 edits
An extreme-performance zero-encoding binary serializer for C# and Unity
Features
- An open-source project by Cysharp, where Yoshifumi Kawai, the top contributor to MessagePack for C#, serves as CTO/CEO
- Uses a zero-encoding design aimed at extreme performance
- No dynamic code generation, using C# 11 and incremental source generators
- Supports modern I/O APIs
- Reflection-free non-generic APIs
- Can deserialize into existing instances
- Circular reference serialization
- Supports TypeScript code generation and ASP.NET Core Formatter
- Supports Unity (2021.3) IL2CPP via .NET source generators
- NativeAOT ready (support planned for .NET 8 due to a bug in .NET NativeAOT)