Nitrox.BinaryPack
2.0.1
dotnet add package Nitrox.BinaryPack --version 2.0.1
NuGet\Install-Package Nitrox.BinaryPack -Version 2.0.1
<PackageReference Include="Nitrox.BinaryPack" Version="2.0.1" />
<PackageVersion Include="Nitrox.BinaryPack" Version="2.0.1" />
<PackageReference Include="Nitrox.BinaryPack" />
paket add Nitrox.BinaryPack --version 2.0.1
#r "nuget: Nitrox.BinaryPack, 2.0.1"
#:package Nitrox.BinaryPack@2.0.1
#addin nuget:?package=Nitrox.BinaryPack&version=2.0.1
#tool nuget:?package=Nitrox.BinaryPack&version=2.0.1
Nitrox BinaryPack
A fork of the official BinaryPack
. It has a few additional features and provides support for net472.
Supported properties
Here is a list of the property types currently supported by the library:
✅ Primitive types (except object
): string
, bool
, int
, uint
, float
, double
, etc.
✅ Nullable value types: Nullable<T>
or T?
for short, where T : struct
✅ Unmanaged types: eg. System.Numerics.Vector2
, and all unmanaged
value types
✅ Unions: eg. abstract
classes
✅ .NET arrays: T[]
, T[,]
, T[,,]
, etc.
✅ .NET collections: List<T>
, IList<T>
, ICollection<T>
, IEnumerable<T>
, etc.
✅ .NET dictionaries: Dictionary<TKey, TValue>
, IDictionary<TKey, TValue>
and IReadOnlyDictionary<TKey, TValue>
✅ Other .NET types: BitArray
Benchmarks
Here are benchmarks executed with the benchmark sample (JsonResponseModel) included in this repository. You can click here for a detailed version.
Requirements
This BinaryPack fork requires .NET Framework 4.7.2
The test projects also require .NET CoreApp 3.1
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 is compatible. 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.4)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
-
.NETStandard 2.0
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.4)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
-
net7.0
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.4)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Nitrox.BinaryPack:
Repository | Stars |
---|---|
SubnauticaNitrox/Nitrox
An open-source, multiplayer modification for the game Subnautica.
|