Multibase implementation in C#
$ dotnet add package Nethermind.Multiformats.BaseMultibase implementation in C#.
As stated in the specs, multibase encoded strings are prefixed with an identifier for the base it's encoded in.
PM> Install-Package Multiformats.Base
CLI> dotnet install Multiformats.Base
using Multiformats.Base;
using System.Text;
string encoded = Multibase.Encode(MultibaseEncoding.Base32Lower, Encoding.UTF8.GetBytes("hello world"));
// bnbswy3dpeb3w64tmmq
byte[] decoded = Multibase.Decode(encoded, out MultibaseEncoding encoding);