Soenneker.Extensions.Arrays.Bytes
4.0.65
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Extensions.Arrays.Bytes --version 4.0.65
NuGet\Install-Package Soenneker.Extensions.Arrays.Bytes -Version 4.0.65
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="Soenneker.Extensions.Arrays.Bytes" Version="4.0.65" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Extensions.Arrays.Bytes" Version="4.0.65" />
<PackageReference Include="Soenneker.Extensions.Arrays.Bytes" />
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 Soenneker.Extensions.Arrays.Bytes --version 4.0.65
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Extensions.Arrays.Bytes, 4.0.65"
#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 Soenneker.Extensions.Arrays.Bytes@4.0.65
#: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=Soenneker.Extensions.Arrays.Bytes&version=4.0.65
#tool nuget:?package=Soenneker.Extensions.Arrays.Bytes&version=4.0.65
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Extensions.Arrays.Bytes
A collection of helpful byte[] extension methods.
Installation
dotnet add package Soenneker.Extensions.Arrays.Bytes
Quick start
using Soenneker.Extensions.Arrays.Bytes;
byte[] value = [1, 2, 3];
var result = value.ToStr();
Common operations
ToStr()- Converts the specified byte array to a UTF-8 encoded string. Returns a string representation of the byte array, decoded using UTF-8 encoding.ToHex()- Converts the bytes to an uppercase hexadecimal string with no separators.ToHexLower()- Converts the specified byte array to its lowercase hexadecimal string representation. Returns a string containing the lowercase hexadecimal representation of the input bytes. Returns an empty string if the array is empty.ToBase64String()- Converts the specified byte array to a Base64-encoded string. Returns a Base64-encoded string.ToStream()- Converts the byte array into aMemoryStream. Returns aMemoryStreamcontaining the byte array data.IsEmpty()- Determines whether the byte array is null or empty.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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.
-
net10.0
- No dependencies.
NuGet packages (11)
Showing the top 5 NuGet packages that depend on Soenneker.Extensions.Arrays.Bytes:
| Package | Downloads |
|---|---|
|
Soenneker.Extensions.Generic
A collection of useful T (generic) extension methods |
|
|
Soenneker.Utils.SHA3
A utility library for SHA-3 hashing |
|
|
Soenneker.GitHub.Repositories.Secrets
Lists and manages GitHub Actions repository secrets |
|
|
Soenneker.Hashing.Blake3
A high-performance .NET library for BLAKE3 hashing and constant-time verification. Pure C# with optional SIMD acceleration (AVX2 on x64, NEON on ARM). |
|
|
Soenneker.Hashing.Argon2
A utility library for Argon2 hashing and verification |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.66 | 12,428 | 8/30/2026 |
| 4.0.65 | 476 | 8/29/2026 |
| 4.0.64 | 150 | 8/29/2026 |
| 4.0.63 | 12,165 | 8/25/2026 |
| 4.0.62 | 312,897 | 7/27/2026 |
| 4.0.61 | 181,863 | 7/16/2026 |
| 4.0.60 | 240,805 | 6/18/2026 |
| 4.0.59 | 177,193 | 6/9/2026 |
| 4.0.58 | 68,885 | 6/5/2026 |
| 4.0.57 | 127 | 6/5/2026 |
| 4.0.56 | 294,991 | 4/22/2026 |
| 4.0.55 | 258,295 | 3/12/2026 |
| 4.0.54 | 3,117 | 3/12/2026 |
| 4.0.53 | 137 | 3/12/2026 |
| 4.0.52 | 7,248 | 3/12/2026 |
| 4.0.51 | 91,201 | 3/10/2026 |
| 4.0.50 | 46,197 | 3/9/2026 |
| 4.0.49 | 147 | 3/9/2026 |
| 4.0.48 | 136 | 3/9/2026 |
| 4.0.47 | 99,416 | 3/4/2026 |
Loading failed
Improve XML documentation