Nino 3.9.15
dotnet add package Nino --version 3.9.15
NuGet\Install-Package Nino -Version 3.9.15
<PackageReference Include="Nino" Version="3.9.15" />
<PackageVersion Include="Nino" Version="3.9.15" />
<PackageReference Include="Nino" />
paket add Nino --version 3.9.15
#r "nuget: Nino, 3.9.15"
#:package Nino@3.9.15
#addin nuget:?package=Nino&version=3.9.15
#tool nuget:?package=Nino&version=3.9.15
<div align="center">
Nino
Ultimate high-performance binary serialization library for C#
🌐 Official Website • 📚 Documentation • 🚀 Performance • 🇨🇳 中文
Fast, flexible, and effortless C# binary serialization
</div>
✨ Why Choose Nino?
<table> <tr> <td width="25%" align="center"> <h3>🔧 Seamless Integration</h3> <p>Leverages C# Source Generators for automatic compile-time code generation. Zero manual setup required.</p> </td> <td width="25%" align="center"> <h3>⚡ Blazing Performance</h3> <p>Engineered for high-throughput, low-latency scenarios with minimal GC pressure and memory allocation.</p> </td> <td width="25%" align="center"> <h3>🎮 Unity Compatible</h3> <p>Works seamlessly with Unity projects and native Unity data types like Vector3 and Quaternion.</p> </td> <td width="25%" align="center"> <h3>🛠️ Advanced Features</h3> <p>Handles complex scenarios like polymorphism, versioning, custom constructors, and private member serialization.</p> </td> </tr> </table>
🎯 Core Features
🚀 Performance & Reliability
- High-Speed Serialization: Consistently ranks among the fastest C# binary serializers
- Low Memory Footprint: Minimal GC pressure and memory allocation
- By-Reference Deserialization: Deserialize directly into existing objects to eliminate allocation overhead
- Thread-Safe Operations: Fully concurrent serialization/deserialization without external locking
- Data Integrity: Built-in type checking ensures data consistency
🧩 Comprehensive Type Support
- Primitives & Built-ins: Full support for all C# primitive types (
int
,float
,DateTime
, etc.) - Modern C# Features:
records
,record structs
,structs
,classes
, and generics - Collections: Any
IEnumerable<T>
includingList<T>
,Dictionary<TKey,TValue>
,HashSet<T>
,ConcurrentDictionary<TKey,TValue>
- Advanced Generics: Complex nested types like
Dictionary<string, List<CustomType[]>>
- Value Types:
ValueTuple
,Tuple
,KeyValuePair<TKey,TValue>
,Nullable<T>
🎮 Unity & Cross-Platform
- Unity Native Types:
Vector3
,Quaternion
,Matrix4x4
, and other Unity-specific data types - Cross-Assembly Support: Serialize types across different .NET assemblies and projects
- Platform Agnostic: Works seamlessly across different .NET implementations
⚙️ Advanced Control
- Polymorphism: Interface and abstract class serialization with type preservation
- Custom Constructors:
[NinoConstructor]
for immutable types and factory patterns - Versioning & Migration:
[NinoMember]
ordering and[NinoFormerName]
for backward compatibility - Privacy Control:
[NinoType(true)]
to include private/protected members - Selective Serialization:
[NinoIgnore]
to exclude specific fields - String Optimization:
[NinoUtf8]
for efficient UTF-8 string handling
📖 Quick Start
Installation
Standard .NET Projects:
dotnet add package Nino
Unity Projects (via OpenUPM):
openupm add com.jasonxudeveloper.nino
Basic Usage
[NinoType]
public class GameData
{
public int Score;
public string PlayerName;
public DateTime LastPlayed;
}
// Serialize
var data = new GameData { Score = 1000, PlayerName = "Player1", LastPlayed = DateTime.Now };
byte[] bytes = NinoSerializer.Serialize(data);
// Deserialize
var restored = NinoDeserializer.Deserialize<GameData>(bytes);
📊 Performance
Nino consistently delivers exceptional performance across various scenarios. See detailed benchmarks and comparisons with other popular serialization libraries.
🤝 Community & Support
<div align="center">
🐛 Report Issues • 💡 Feature Requests • 🔀 Contribute
</div>
<div align="center">
Made with ❤️ by JasonXuDeveloper
Licensed under MIT License
</div>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Nino.Generator (>= 3.9.15)
- Nino.Serialization (>= 3.9.15)
-
net6.0
- Nino.Generator (>= 3.9.15)
- Nino.Serialization (>= 3.9.15)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
3.9.15 | 12 | 7/29/2025 |
3.9.14 | 13 | 7/28/2025 |
3.9.13 | 9 | 7/28/2025 |
3.9.12 | 20 | 7/27/2025 |
3.9.11 | 25 | 7/27/2025 |
3.9.10 | 38 | 7/27/2025 |
3.9.9 | 40 | 7/27/2025 |
3.9.8 | 160 | 7/26/2025 |
3.9.7 | 431 | 7/24/2025 |
3.9.6 | 431 | 7/24/2025 |
3.9.5 | 482 | 7/23/2025 |
3.9.4 | 479 | 7/23/2025 |
3.9.3 | 485 | 7/23/2025 |
3.9.2 | 487 | 7/22/2025 |
3.9.1 | 478 | 7/22/2025 |
3.9.0 | 433 | 7/21/2025 |
3.3.13 | 228 | 6/3/2025 |
3.3.12 | 128 | 6/3/2025 |
3.3.11 | 128 | 6/3/2025 |
3.3.10 | 144 | 6/2/2025 |
3.3.9 | 115 | 5/23/2025 |
3.3.8 | 117 | 4/12/2025 |
3.3.7 | 199 | 4/7/2025 |
3.3.6 | 93 | 4/5/2025 |
3.3.5 | 466 | 3/26/2025 |
3.3.4 | 469 | 3/26/2025 |
3.3.3 | 471 | 3/26/2025 |
3.3.2 | 151 | 3/21/2025 |
3.3.0 | 173 | 3/9/2025 |
3.2.13 | 179 | 3/9/2025 |
3.2.12 | 173 | 3/9/2025 |
3.2.11 | 137 | 3/9/2025 |
3.2.10 | 133 | 3/9/2025 |
3.2.9 | 267 | 3/5/2025 |
3.2.8 | 208 | 3/5/2025 |
3.2.7 | 206 | 3/4/2025 |
3.2.6 | 208 | 3/4/2025 |
3.2.5 | 150 | 3/3/2025 |
3.2.4 | 146 | 3/3/2025 |
3.2.3 | 120 | 2/25/2025 |
3.2.2 | 96 | 2/25/2025 |
3.2.1 | 102 | 2/24/2025 |
3.2.0 | 102 | 2/22/2025 |
3.1.7 | 107 | 2/21/2025 |
3.1.6 | 101 | 2/20/2025 |
3.1.5 | 98 | 2/20/2025 |
3.1.4 | 152 | 2/18/2025 |
3.1.3 | 112 | 2/18/2025 |
3.1.2 | 105 | 2/15/2025 |
3.1.1 | 122 | 2/3/2025 |
3.1.0 | 107 | 1/19/2025 |
3.0.9 | 92 | 1/19/2025 |
3.0.8 | 95 | 1/13/2025 |
3.0.7 | 115 | 1/5/2025 |
3.0.6 | 116 | 1/5/2025 |
3.0.5 | 123 | 11/17/2024 |
3.0.4 | 104 | 11/16/2024 |
3.0.3 | 107 | 11/15/2024 |
3.0.2 | 104 | 11/15/2024 |
3.0.1 | 109 | 11/13/2024 |
3.0.0 | 117 | 11/12/2024 |
2.2.1 | 127 | 11/11/2024 |
2.2.0 | 124 | 11/11/2024 |
2.1.9 | 119 | 11/11/2024 |
2.1.8 | 109 | 11/10/2024 |
2.1.7 | 113 | 11/9/2024 |
2.1.6 | 116 | 11/7/2024 |
2.1.5 | 109 | 11/2/2024 |
2.1.4 | 108 | 11/1/2024 |
2.1.3 | 109 | 10/31/2024 |
2.1.2 | 115 | 10/28/2024 |
2.1.1 | 100 | 10/28/2024 |
2.1.0 | 114 | 10/27/2024 |
2.0.9 | 103 | 10/21/2024 |
2.0.8 | 134 | 9/17/2024 |
2.0.7 | 125 | 9/16/2024 |
2.0.6 | 117 | 9/15/2024 |
2.0.5 | 125 | 7/24/2024 |
2.0.4 | 118 | 7/18/2024 |
2.0.3 | 101 | 7/8/2024 |
2.0.2 | 108 | 7/8/2024 |
2.0.1 | 129 | 7/3/2024 |
2.0.0.2 | 109 | 7/2/2024 |
2.0.0.1 | 113 | 7/2/2024 |
2.0.0 | 106 | 7/2/2024 |