Czlovek.Encoders 1.0.10

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Czlovek.Encoders --version 1.0.10
                    
NuGet\Install-Package Czlovek.Encoders -Version 1.0.10
                    
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="Czlovek.Encoders" Version="1.0.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Czlovek.Encoders" Version="1.0.10" />
                    
Directory.Packages.props
<PackageReference Include="Czlovek.Encoders" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Czlovek.Encoders --version 1.0.10
                    
#r "nuget: Czlovek.Encoders, 1.0.10"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Czlovek.Encoders@1.0.10
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Czlovek.Encoders&version=1.0.10
                    
Install as a Cake Addin
#tool nuget:?package=Czlovek.Encoders&version=1.0.10
                    
Install as a Cake Tool

Base64 Encoding/Decoding Extensions

This C# class provides extensions to convert strings and byte arrays to and from Base64 encoding. Base64 encoding is a way to represent binary data in an ASCII string format, making it easier to transmit over text-based protocols such as HTTP.

Usage

Converting a string to Base64 encoded ASCII string
string input = "Hello, world!";
string base64AsciiString = input.ConvertToBase64AsciiString();
// base64AsciiString = "SGVsbG8sIHdvcmxkIQ=="
Converting a string to Base64 encoded UTF-8 string
string input = "こんにちは、世界!";
string base64Utf8String = input.ConvertToBase64Utf8String();
// base64Utf8String = "44GC44GE44GG44Gv44Gr44Gh44Gv44CB5LiW55WMhIS"
Converting a byte array to Base64 encoded string
byte[] input = new byte[] { 0x12, 0x34, 0x56, 0x78 };
string base64String = input.ConvertToBase64String();
// base64String = "EjRWdg=="
Converting a Base64 encoded ASCII string to string
string base64AsciiString = "SGVsbG8sIHdvcmxkIQ==";
string output = base64AsciiString.ConvertBase64ToAsciiString();
// output = "Hello, world!"
Converting a Base64 encoded UTF-8 string to string
string base64Utf8String = "44GC44GE44GG44Gv44Gr44Gh44Gv44CB5LiW55WMhIS";
string output = base64Utf8String.ConvertBase64ToUtf8String();
// output = "こんにちは、世界!"
Converting a Base64 encoded string to byte array
string base64String = "EjRWdg==";
byte[] output = base64String.ConvertBase64ToBytes();
// output = new byte[] { 0x12, 0x34, 0x56, 0x78 }
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Czlovek.Encoders:

Package Downloads
Czlovek.Security

A collection of methods for generating, hashing, and encrypting data.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.0-beta.84 47 5/7/2026
2.1.0-beta.83 51 5/7/2026
2.1.0-beta.82 93 3/20/2026
2.1.0-beta.81 67 2/21/2026
2.1.0-beta.80 69 2/21/2026
2.1.0-beta.79 78 2/13/2026
2.1.0-beta.78 80 2/11/2026
2.1.0-beta.77 70 2/11/2026
2.1.0-beta.76 64 2/10/2026
2.1.0-beta.75 73 2/10/2026
2.1.0-beta.74 73 1/28/2026
2.1.0-beta.73 202 11/6/2025
2.1.0-beta.72 168 11/6/2025
2.1.0-beta.71 196 11/4/2025
2.1.0-beta.70 190 11/4/2025
2.1.0-beta.69 174 11/4/2025
2.1.0-beta.68 175 11/4/2025
2.1.0-beta.67 197 11/2/2025
2.1.0-beta.66 179 11/2/2025
1.0.10 764 4/11/2023
Loading failed