byMarc.Net2.Library.ByteArrays by ESTC

<PackageReference Include="byMarc.Net2.Library.ByteArrays" Version="2017.220.0" />

 ByteArrayLib

public sealed class ByteArrayLib
Implements a set of routines for to convert byte arrays into ASCII strings.
public static string ByteArrayToString(byte[] value)

Converts a byte array into a string.

public static byte[] StringToByteArray(string value)

Converts a string to a byte array. Often used for writing strings to the response object.