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 (34)

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

Showing the top 5 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
Stream the sound of your desktop to your Chromecast Audio device
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 2,717 11/10/2022
3.1.0 260,404 5/24/2021
3.0.3 562 5/24/2021
3.0.2 81,841 12/11/2020
3.0.1 76,396 2/14/2020
3.0.0 16,379 12/24/2019
2.1.0 183,002 1/21/2020
2.0.0 22,082 10/12/2019
1.8.0 59,184 3/20/2019
1.7.1 50,674 12/4/2018
1.6.1 14,424 7/13/2018
1.4.1 2,631 5/30/2018
1.3.1 341,459 7/27/2017
1.3.0 862 7/26/2017
1.2.0 15,840 5/19/2016
1.1.1 65,477 5/18/2016
1.1.0 1,048 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