Nino 3.9.17

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Nino --version 3.9.17
                    
NuGet\Install-Package Nino -Version 3.9.17
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nino" Version="3.9.17" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nino" Version="3.9.17" />
                    
Directory.Packages.props
<PackageReference Include="Nino" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Nino --version 3.9.17
                    
#r "nuget: Nino, 3.9.17"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Nino@3.9.17
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Nino&version=3.9.17
                    
Install as a Cake Addin
#tool nuget:?package=Nino&version=3.9.17
                    
Install as a Cake Tool

<div align="center">

Nino

Ultimate high-performance binary serialization library for C#

Build Status License NuGet OpenUPM

🌐 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> including List<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);

📚 Full Documentation →


📊 Performance

Nino consistently delivers exceptional performance across various scenarios. See detailed benchmarks and comparisons with other popular serialization libraries.

🚀 View Benchmarks →


🤝 Community & Support

<div align="center">

GitHub Issues GitHub Stars GitHub Forks

🐛 Report Issues💡 Feature Requests🔀 Contribute

</div>


<div align="center">

Made with ❤️ by JasonXuDeveloper

Licensed under MIT License

</div>

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
4.0.0-beta.43 375 11/19/2025
4.0.0-beta.42 217 11/14/2025
4.0.0-beta.40 156 11/4/2025
4.0.0-beta.38 146 10/29/2025
4.0.0-beta.37 145 10/28/2025
4.0.0-beta.36 71 10/25/2025
4.0.0-beta.35 219 10/15/2025
4.0.0-beta.34 143 10/14/2025
4.0.0-beta.33 76 10/12/2025
4.0.0-beta.32 78 10/11/2025
4.0.0-beta.31 75 10/11/2025
4.0.0-beta.30 76 10/11/2025
4.0.0-beta.29 75 10/11/2025
4.0.0-beta.28 53 10/11/2025
4.0.0-beta.27 117 10/10/2025
4.0.0-beta.26 121 10/10/2025
4.0.0-beta.25 132 10/9/2025
4.0.0-beta.24 142 10/6/2025
4.0.0-beta.23 138 10/6/2025
4.0.0-beta.22 140 10/6/2025
4.0.0-beta.20 142 10/6/2025
4.0.0-beta.19 132 10/5/2025
4.0.0-beta.18 128 10/5/2025
4.0.0-beta.17 127 10/5/2025
4.0.0-beta.16 138 10/5/2025
4.0.0-beta.15 165 8/18/2025
4.0.0-beta.14 191 8/16/2025
4.0.0-beta.13 68 8/16/2025
4.0.0-beta.11 151 8/14/2025
4.0.0-beta.10 276 8/6/2025
4.0.0-beta.8 219 8/5/2025
4.0.0-beta.6 227 8/5/2025
4.0.0-beta.5 219 8/5/2025
4.0.0-beta.4 199 8/4/2025
4.0.0-beta.2 73 8/3/2025
4.0.0-beta.1 37 8/2/2025
4.0.0-alpha.19 50 8/2/2025
4.0.0-alpha.18 50 8/2/2025
4.0.0-alpha.17 44 8/2/2025
4.0.0-alpha.16 44 8/2/2025
4.0.0-alpha.14 43 8/2/2025
4.0.0-alpha.13 48 8/2/2025
4.0.0-alpha.12 44 8/2/2025
4.0.0-alpha.11 47 8/2/2025
4.0.0-alpha.10 43 8/2/2025
4.0.0-alpha.8 48 8/2/2025
4.0.0-alpha.7 48 8/2/2025
4.0.0-alpha.6 47 8/2/2025
3.9.17 204 7/30/2025
3.9.16 140 7/30/2025
3.9.15 142 7/29/2025
3.9.14 160 7/28/2025
3.9.13 152 7/28/2025
3.9.12 175 7/27/2025
3.9.11 138 7/27/2025
3.9.10 141 7/27/2025
3.9.9 138 7/27/2025
3.9.8 258 7/26/2025
3.9.7 509 7/24/2025
3.9.6 511 7/24/2025
3.9.5 578 7/23/2025
3.9.4 572 7/23/2025
3.9.3 583 7/23/2025
3.9.2 580 7/22/2025
3.9.1 566 7/22/2025
3.9.0 531 7/21/2025
3.3.13 294 6/3/2025
3.3.12 180 6/3/2025
3.3.11 178 6/3/2025
3.3.10 211 6/2/2025
3.3.9 169 5/23/2025
3.3.8 169 4/12/2025
3.3.7 247 4/7/2025
3.3.6 145 4/5/2025
3.3.5 518 3/26/2025
3.3.4 517 3/26/2025
3.3.3 520 3/26/2025
3.3.2 204 3/21/2025
3.3.0 229 3/9/2025
3.2.13 228 3/9/2025
3.2.12 221 3/9/2025
3.2.11 311 3/9/2025
3.2.10 298 3/9/2025
3.2.9 458 3/5/2025
3.2.8 376 3/5/2025
3.2.7 380 3/4/2025
3.2.6 380 3/4/2025
3.2.5 317 3/3/2025
3.2.4 313 3/3/2025
3.2.3 289 2/25/2025
3.2.2 266 2/25/2025
3.2.1 274 2/24/2025
3.2.0 278 2/22/2025
3.1.7 270 2/21/2025
3.1.6 271 2/20/2025
3.1.5 264 2/20/2025
3.1.4 322 2/18/2025
3.1.3 285 2/18/2025
3.1.2 268 2/15/2025
3.1.1 292 2/3/2025
3.1.0 275 1/19/2025
3.0.9 261 1/19/2025
3.0.8 269 1/13/2025
3.0.7 288 1/5/2025
3.0.6 292 1/5/2025
3.0.5 293 11/17/2024
3.0.4 274 11/16/2024
3.0.3 269 11/15/2024
3.0.2 271 11/15/2024
3.0.1 271 11/13/2024
3.0.0 283 11/12/2024
2.2.1 294 11/11/2024
2.2.0 287 11/11/2024
2.1.9 290 11/11/2024
2.1.8 268 11/10/2024
2.1.7 282 11/9/2024
2.1.6 284 11/7/2024
2.1.5 284 11/2/2024
2.1.4 279 11/1/2024
2.1.3 264 10/31/2024
2.1.2 283 10/28/2024
2.1.1 269 10/28/2024
2.1.0 282 10/27/2024
2.0.9 274 10/21/2024
2.0.8 306 9/17/2024
2.0.7 294 9/16/2024
2.0.6 290 9/15/2024
2.0.5 296 7/24/2024
2.0.4 287 7/18/2024
2.0.3 261 7/8/2024
2.0.2 272 7/8/2024
2.0.1 293 7/3/2024
2.0.0.2 279 7/2/2024
2.0.0.1 281 7/2/2024
2.0.0 274 7/2/2024