Nerdbank.MessagePack
0.2.2-alpha
Prefix Reserved
This is a prerelease version of Nerdbank.MessagePack.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Nerdbank.MessagePack --version 0.2.2-alpha
NuGet\Install-Package Nerdbank.MessagePack -Version 0.2.2-alpha
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="Nerdbank.MessagePack" Version="0.2.2-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nerdbank.MessagePack --version 0.2.2-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Nerdbank.MessagePack, 0.2.2-alpha"
#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.
// Install Nerdbank.MessagePack as a Cake Addin #addin nuget:?package=Nerdbank.MessagePack&version=0.2.2-alpha&prerelease // Install Nerdbank.MessagePack as a Cake Tool #tool nuget:?package=Nerdbank.MessagePack&version=0.2.2-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Nerdbank.MessagePack
A modern, fast and NativeAOT-compatible MessagePack serialization library
Learn everything on our docs site.
Features
- Serializes in the compact and fast MessagePack format.
- Performance is on par with the highly tuned and popular MessagePack-CSharp library.
- Automatically serialize any type annotated with the PolyType
[GenerateShape]
attribute. - Automatically serialize non-annotated types by adding a 'witness' type with a similar annotation.
- Fast
ref
-based serialization and deserialization minimizes copying of large structs. - NativeAOT and trimming compatible.
- Keep memory pressure low by using async serialization directly to/from I/O like a network, IPC pipe or file.
- Primitive msgpack reader and writer APIs for low-level scenarios.
- Author custom converters for advanced scenarios.
- Security mitigations for stack overflows.
- Optionally serialize your custom types as arrays of bvalues instead of maps of names and value for more compact representation and even higher performance.
- Support for serializing instances of certain types derived from the declared type and deserializing them back to their original runtime types using unions.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.VisualStudio.Validation (>= 17.8.8)
- Nerdbank.Streams (>= 2.11.79)
- PolyType (>= 0.16.1)
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 |
---|---|---|
0.2.52-alpha | 33 | 11/18/2024 |
0.2.34-alpha | 38 | 11/17/2024 |
0.2.2-alpha | 43 | 11/12/2024 |
0.1.734-alpha-g09268fd45c | 51 | 11/7/2024 |
0.1.705-alpha-gad428877b7 | 40 | 11/5/2024 |