Bon-API 1.0.2

dotnet add package Bon-API --version 1.0.2                
NuGet\Install-Package Bon-API -Version 1.0.2                
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="Bon-API" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bon-API --version 1.0.2                
#r "nuget: Bon-API, 1.0.2"                
#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 Bon-API as a Cake Addin
#addin nuget:?package=Bon-API&version=1.0.2

// Install Bon-API as a Cake Tool
#tool nuget:?package=Bon-API&version=1.0.2                

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 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

    • 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.

Version Downloads Last updated
1.0.2 129 8/24/2024
1.0.1 122 8/24/2024
1.0.0 118 8/23/2024