SimpleBase 4.0.0

Base16, Base32, Base58, Base85 encoding/decoding library

Showing the top 20 packages that depend on SimpleBase.

Packages Downloads
ERP4.Standard.Global
Standard Basis-Funktionen sowie globale Auflistungen und Enums
12
ERP4.Standard.Global
Standard Basis-Funktionen sowie globale Auflistungen und Enums
8
ERP4.Standard.Global
Standard Basis-Funktionen sowie globale Auflistungen und Enums
7
ERP4.Standard.Global
Standard Basis-Funktionen sowie globale Auflistungen und Enums
6
ERP4.Standard.Global
Standard Basis-Funktionen sowie globale Auflistungen und Enums
4

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 https://tools.ietf.org/html/rfc1924
  • 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-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

.NET Standard 2.1

Version Downloads Last updated
5.6.0 0 11/13/2025
5.5.0 1 11/10/2025
5.4.1 4 05/24/2025
5.3.0 4 05/25/2025
5.2.0 4 05/25/2025
5.1.0 4 05/25/2025
5.0.0 4 05/25/2025
4.3.0 4 05/25/2025
4.2.0 4 05/25/2025
4.0.2 5 03/12/2025
4.0.1 5 03/12/2025
4.0.0 5 03/12/2025
3.1.0 5 03/12/2025
3.0.3 5 03/12/2025
3.0.2 5 03/12/2025
3.0.1 5 03/12/2025
3.0.0 5 03/12/2025
2.1.0 5 03/12/2025
2.0.0 5 03/12/2025
1.8.0 5 03/12/2025
1.7.1 5 03/12/2025
1.6.1 5 03/12/2025
1.4.1 5 03/12/2025
1.3.1 5 03/12/2025
1.3.0 5 03/12/2025
1.2.0 5 03/12/2025
1.1.1 7 01/23/2025
1.1.0 5 03/12/2025