Bon-API
1.0.1
See the version list below for details.
dotnet add package Bon-API --version 1.0.1
NuGet\Install-Package Bon-API -Version 1.0.1
<PackageReference Include="Bon-API" Version="1.0.1" />
paket add Bon-API --version 1.0.1
#r "nuget: Bon-API, 1.0.1"
// Install Bon-API as a Cake Addin #addin nuget:?package=Bon-API&version=1.0.1 // Install Bon-API as a Cake Tool #tool nuget:?package=Bon-API&version=1.0.1
About
What is BON? BON is binary object notation, more compact alternative for JSON and BSON. It, as the name implies, converts object to byte array. You can create yourself converters for custom types.
How does it works
This tecnhology doesn't use names or special symbols, saving value of object whether it's array, any number, class, struct, etc.<br/> Actually it uses three base types: byte array, fixed byte array and nullable. End result is concatanation of blocks of those three types.
Byte array
This is classic byte array, but with its size before first element
Fixed byte array
This is class, struct, int or anymore with fixed size representation. In contrast to byte array, this doesn't contain length at begining. You can know length of fixed byte array by serializing type and by byte array if fixed byte array contains it.
Nullable
Nullable sign that value is null or not. If value is null, then first byte of block is 0, if not null 1.<br/> --This is not completed version--
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. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.