https://github.com/jasonxudeveloper/nino
Ultimate high-performance binary serialization library for C#.
https://github.com/jasonxudeveloper/nino
c-sharp csharp deserialization dotnet godot serialization unity
Last synced: 5 days ago
JSON representation
Ultimate high-performance binary serialization library for C#.
- Host: GitHub
- URL: https://github.com/jasonxudeveloper/nino
- Owner: JasonXuDeveloper
- License: mit
- Created: 2022-04-25T06:46:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-12T12:36:47.000Z (about 1 month ago)
- Last Synced: 2025-05-14T17:03:11.649Z (5 days ago)
- Topics: c-sharp, csharp, deserialization, dotnet, godot, serialization, unity
- Language: C#
- Homepage: https://nino.xgamedev.net
- Size: 7.24 MB
- Stars: 543
- Watchers: 14
- Forks: 50
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nino
Ultimate high-performance binary serialization library for C#.


[](https://www.nuget.org/packages/Nino)
[](https://openupm.com/packages/com.jasonxudeveloper.nino/)[Official Website](https://nino.xgamedev.net/en/)
Plausibly the fastest and most flexible binary serialization library for C# projects.

## Features
- Support all **unmanaged types** (`int`/`float`/`DateTime`/`Vector`/`Matrix`, etc)
- Support `ValueTuple`/`Tuple`/`KeyValuePair` of supported types
- Support all custom `interfaces`/`classes`/`structs`/`records`/`record structs` annotated with **[NinoType]** (including `generics`,
support custom constructor for deserialization)- Support all **`IEnumerable`** types (`List`, `Dictonary`, `ConcurrentDictonary`, `Hashset`, `ArraySegment`, `Stack`, `ReadOnlyList` etc)
- Support all **`Span`** types
- Support all **`Nullable`** types
- Support all **Embed** serializable types (i.e. `Stack[]>[]>`)
- Support **polymorphism**
- High **performance** with low GC allocation
- Support **type check** (guarantees data integrity)
- Support **version compatibility** (i.e. adding fields, changing field type, etc)
- Support **cross-project** (C# Project) type serialization (i.e. serialize a class with member of types in A.dll from B.dll)
## Quick Start
[Documentation](https://nino.xgamedev.net/en/doc/start)
## Performance
[Microbenchmark](https://nino.xgamedev.net/en/perf/micro)