Czlovek.Encoders 2.1.0-beta.2

This is a prerelease version of Czlovek.Encoders.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Czlovek.Encoders --version 2.1.0-beta.2
                    
NuGet\Install-Package Czlovek.Encoders -Version 2.1.0-beta.2
                    
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="2.1.0-beta.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Czlovek.Encoders" Version="2.1.0-beta.2" />
                    
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 2.1.0-beta.2
                    
#r "nuget: Czlovek.Encoders, 2.1.0-beta.2"
                    
#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@2.1.0-beta.2
                    
#: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=2.1.0-beta.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Czlovek.Encoders&version=2.1.0-beta.2&prerelease
                    
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 net9.0 is compatible.  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.67 27 11/2/2025
2.1.0-beta.66 29 11/2/2025
2.1.0-beta.65 31 11/1/2025
2.1.0-beta.64 35 11/1/2025
2.1.0-beta.63 34 11/1/2025
2.1.0-beta.62 32 11/1/2025
2.1.0-beta.61 132 10/12/2025
2.1.0-beta.59 146 8/13/2025
2.1.0-beta.58 125 8/13/2025
2.1.0-beta.57 128 8/13/2025
2.1.0-beta.56 123 8/12/2025
2.1.0-beta.55 123 8/12/2025
2.1.0-beta.54 127 8/10/2025
2.1.0-beta.53 123 8/10/2025
2.1.0-beta.52 123 8/10/2025
2.1.0-beta.51 98 8/9/2025
2.1.0-beta.50 96 8/9/2025
2.1.0-beta.49 93 8/9/2025
2.1.0-beta.48 103 8/9/2025
2.1.0-beta.47 106 8/9/2025
2.1.0-beta.46 142 7/29/2025
2.1.0-beta.45 104 7/29/2025
2.1.0-beta.44 100 7/29/2025
2.1.0-beta.43 145 7/5/2025
2.1.0-beta.42 127 6/23/2025
2.1.0-beta.41 87 6/6/2025
2.1.0-beta.40 76 6/6/2025
2.1.0-beta.38 160 6/3/2025
2.1.0-beta.37 134 5/27/2025
2.1.0-beta.36 72 5/10/2025
2.1.0-beta.35 55 5/10/2025
2.1.0-beta.34 56 5/10/2025
2.1.0-beta.33 201 4/10/2025
2.1.0-beta.32 141 4/9/2025
2.1.0-beta.31 146 4/9/2025
2.1.0-beta.30 140 4/9/2025
2.1.0-beta.29 136 4/9/2025
2.1.0-beta.28 171 3/11/2025
2.1.0-beta.27 166 3/9/2025
2.1.0-beta.26 108 3/8/2025
2.1.0-beta.25 120 3/8/2025
2.1.0-beta.24 206 3/6/2025
2.1.0-beta.23 184 3/4/2025
2.1.0-beta.22 182 3/4/2025
2.1.0-beta.21 109 2/23/2025
2.1.0-beta.20 78 2/22/2025
2.1.0-beta.19 68 2/22/2025
2.1.0-beta.18 75 2/22/2025
2.1.0-beta.17 74 2/22/2025
2.1.0-beta.16 71 2/22/2025
2.1.0-beta.15 78 2/22/2025
2.1.0-beta.14 73 2/22/2025
2.1.0-beta.13 75 2/22/2025
2.1.0-beta.12 72 2/22/2025
2.1.0-beta.11 91 2/21/2025
2.1.0-beta.10 84 2/20/2025
2.1.0-beta.9 82 1/20/2025
2.1.0-beta.8 75 1/20/2025
2.1.0-beta.7 70 1/20/2025
2.1.0-beta.6 71 1/20/2025
2.1.0-beta.5 85 1/19/2025
2.1.0-beta.4 69 1/19/2025
2.1.0-beta.3 75 1/19/2025
2.1.0-beta.2 61 1/19/2025
2.1.0-beta.1 66 1/19/2025
2.0.0-beta.8 225 8/25/2024
2.0.0-beta.7 188 6/11/2024
2.0.0-beta.5 75 6/11/2024
2.0.0-beta.4 80 6/10/2024
2.0.0-beta.3 84 5/19/2024
2.0.0-beta.2 766 2/7/2024
2.0.0-beta.1 98 1/18/2024
1.0.11-beta.40 161 12/17/2023
1.0.11-beta.39 118 12/10/2023
1.0.11-beta.38 115 11/26/2023
1.0.11-beta.37 83 11/26/2023
1.0.11-beta.36 86 11/25/2023
1.0.11-beta.35 88 11/25/2023
1.0.11-beta.34 91 11/25/2023
1.0.11-beta.33 99 11/25/2023
1.0.11-beta.32 100 11/25/2023
1.0.11-beta.31 95 11/23/2023
1.0.11-beta.30 97 11/18/2023
1.0.11-beta.29 84 11/17/2023
1.0.11-beta.28 87 11/17/2023
1.0.11-beta.27 78 11/16/2023
1.0.11-beta.26 80 11/16/2023
1.0.11-beta.25 85 11/16/2023
1.0.11-beta.24 115 11/1/2023
1.0.11-beta.23 94 10/31/2023
1.0.11-beta.22 143 9/11/2023
1.0.11-beta.21 123 9/10/2023
1.0.11-beta.20 178 8/26/2023
1.0.11-beta.19 124 8/18/2023
1.0.11-beta.18 111 8/17/2023
1.0.11-beta.17 117 8/17/2023
1.0.11-beta.16 118 8/17/2023
1.0.11-beta.15 113 8/17/2023
1.0.11-beta.14 129 8/15/2023
1.0.11-beta.13 131 8/11/2023
1.0.11-beta.12 126 8/11/2023
1.0.11-beta.11 128 8/3/2023
1.0.11-beta.10 141 8/1/2023
1.0.11-beta.9 135 7/11/2023
1.0.11-beta.8 132 7/11/2023
1.0.11-beta.7 138 7/11/2023
1.0.11-beta.6 145 5/16/2023
1.0.11-beta.5 140 5/16/2023
1.0.11-beta.4 142 5/16/2023
1.0.11-beta.3 136 5/16/2023
1.0.11-beta.2 138 5/16/2023
1.0.11-beta.1 140 5/14/2023
1.0.10 663 4/11/2023
1.0.10-beta.2 156 4/11/2023
1.0.10-beta.1 160 3/22/2023
1.0.9 356 3/22/2023
1.0.8 356 3/19/2023
1.0.7 372 3/19/2023
1.0.6 365 3/16/2023
1.0.6-beta.1 146 3/16/2023
1.0.5 375 3/16/2023
1.0.4 378 3/12/2023