SimpleBase 4.0.0

.NET Standard 2.1
dotnet add package SimpleBase --version 4.0.0
NuGet\Install-Package SimpleBase -Version 4.0.0
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="SimpleBase" Version="4.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleBase --version 4.0.0
#r "nuget: SimpleBase, 4.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SimpleBase as a Cake Addin
#addin nuget:?package=SimpleBase&version=4.0.0

// Install SimpleBase as a Cake Tool
#tool nuget:?package=SimpleBase&version=4.0.0

Base16, Base32, Base58, Base85 encoding/decoding library

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (38)

Showing the top 5 NuGet packages that depend on SimpleBase:

Package Downloads

DNS data model with serializer/deserializer for the wire and master file format.


Core objects and interfaces for IPFS. The InterPlanetary File System is the permanent web. It is a new hypermedia distribution protocol, addressed by content and identities. IPFS enables the creation of completely distributed applications. It aims to make the web faster, safer, and more open.


This is an operator sdk written in c#. It enables a developer to create a custom controller for CRDs (CustomResourceDefinitions) that runs on kubernetes.


Just another Substrate .NET API, written in NETStandard2.0 to provide maximum compatibility for Unity3D.


Package Description

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on SimpleBase:

Repository Stars
📱 Two-Factor Authentication (2FA) client for Android + Wear OS
A self-service password management tool for Active Directory
Mount the InterPlanetary File System as a mapped drive on Windows
KubeOps is a kubernetes operator sdk in dotnet. Strongly inspired by kubebuilder.
Version Downloads Last updated
4.0.0 21,343 11/10/2022
3.1.0 312,088 5/24/2021
3.0.3 579 5/24/2021
3.0.2 85,995 12/11/2020
3.0.1 79,250 2/14/2020
3.0.0 16,473 12/24/2019
2.1.0 208,113 1/21/2020
2.0.0 22,547 10/12/2019
1.8.0 60,897 3/20/2019
1.7.1 50,843 12/4/2018
1.6.1 14,510 7/13/2018
1.4.1 2,725 5/30/2018
1.3.1 377,821 7/27/2017
1.3.0 882 7/26/2017
1.2.0 17,307 5/19/2016
1.1.1 66,770 5/18/2016
1.1.0 1,077 5/16/2016

# Breaking changes
- This version is built with .NET 6 SDK.
- Benchmark now uses BenchmarkDotNet.
- Changed interface names from Encoder to Coder to signify encoding and
 decoding functionality better.
- Simple (aka allocating) versions of `Decode()` will now return `byte[]`'s instead of `Span<byte>`'s for correct
 ownership semantics. It's even possible that some copying may be avoided in certain scenarios.
- `Base16.TryDecode()` doesn't throw on invalid input, but returns `false` instead.
- `Base32.Decode()` throws separate exceptions for encountered failures.

# New features
- Added [Bech32]( flavor to Base32
- Added RFC 1924 (IPv6) flavor to Base85 along with
 EncodeIpv6 and DecodeIpv6 functions
- Added `Base58.Bitcoin.EncodeCheck()` and `Base58.Bitcoin.TryDecodeCheck()` methods.
- Added `Base58.Bitcoin.EncodeCb58()` and `Base58.Bitcoin.TryDecodeCb58()` methods.

# Improvements
- Added more buffer overflow detection to Base32 coder
- Removed all unsafe code. New Span<T>-based optimizations make the code come close to unsafe perf.
- Removed slow and hard to read optimizations like bit shift operations for multiplication and division
 where compiler almost always does a better job of optimizing.

# Fixes
- Fixed output buffer was too small error for certain Base58 cases.
- Avoid redundant memory copy operations