.Net Standard compatible AUDALF implementation in C#
Because I needed this for my personal project
Either copy the AUDALF-deserialize.cs, AUDALF-serialize.cs and Common.cs files to your project or use nuget package
Then do code like
using CSharp_AUDALF;
Dictionary<string, string> someDictionary = new Dictionary<string, string>()
{
{ "one", "value is here"},
{ "thirteen", "important data here" }
};
// Serialize
byte[] serializedBytes = AUDALF_Serialize.Serialize(someDictionary);
// Deserialize
Dictionary<string, string> fromBytes = AUDALF_Deserialize.Deserialize<string, string>(serializedBytes);
// Or deserialize single value
string deserializedString = AUDALF_Deserialize.DeserializeSingleValue<string,string>(serializedBytes, "one");
byte (single value and array), int (single value and array), long (single value and array), ushort (single value and array), uint (single value and array), float, double, string, boolean, BigInteger, datetime
You can run test cases by moving to tests folder and running following command
dotnet test
All the code is licensed under Unlicense