Undefined.Serializer 2.0.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Undefined.Serializer --version 2.0.0.1                
NuGet\Install-Package Undefined.Serializer -Version 2.0.0.1                
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="Undefined.Serializer" Version="2.0.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Undefined.Serializer --version 2.0.0.1                
#r "nuget: Undefined.Serializer, 2.0.0.1"                
#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 Undefined.Serializer as a Cake Addin
#addin nuget:?package=Undefined.Serializer&version=2.0.0.1

// Install Undefined.Serializer as a Cake Tool
#tool nuget:?package=Undefined.Serializer&version=2.0.0.1                

EXAMPLE:

[ConverterParams(IncludeDataType.Field | IncludeDataType.Property)] //BY DEFAULT
    public struct ExampleStruct : IDeserializeHandler, ISerializeHandler
    {
        private long[,] _array;

        public int Value1 { get; }
        public string Value2 { get; }
        
        [Exclude]
        public ushort ExcludeValue { get; } //will not serialized / deserialized
        
        
        public ExampleStruct(long[,] array, int value1, string value2, ushort excludeValue)
        {
            _array = array;
            Value1 = value1;
            Value2 = value2;
            ExcludeValue = excludeValue;
        }

        public void OnDeserialize() => Console.WriteLine("Deserialized");

        public void OnSerialize() => Console.WriteLine("Serialized");
    }
    
    private static void Example()
    {
        var converter = DataConverter.GetDefault();
        var array = new long[10,10];

        var random = new Random();
        for (var x = 0; x < array.GetLength(0); x++)
        for (var y = 0; y < array.GetLength(1); y++)
            array[x, y] = random.NextInt64();

        var obj = new ExampleStruct(array, random.Next(), "HELLO WORLD", 19);

        var buffer = converter.Serialize(obj, true);

        var newObject = converter.Deserialize<ExampleStruct>(buffer);
        //do something
    }
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 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.  net9.0 is compatible. 
.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 (1)

Showing the top 1 NuGet packages that depend on Undefined.Serializer:

Package Downloads
Undefined.Networking

Beautiful and very useful client-server API

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.0 120 10/8/2024
2.0.0.1 111 9/14/2024
2.0.0 242 5/14/2024
1.0.0 145 3/10/2024