Org.BouncyCastle.Utilities.Strings
General string utilities.
namespace Org.BouncyCastle.Utilities
{
public static class Strings
{
public static Encoding UTF8 { get; }
public static string FromByteArray(byte[] bs);
public static string FromByteArray(byte[] buf, int off, int len);
public static byte[] ToByteArray(char[] cs);
public static byte[] ToByteArray(string s);
public static string FromAsciiByteArray(byte[] bytes);
public static string FromAsciiByteArray(byte[] bytes, int index, int count);
public static byte[] ToAsciiByteArray(char[] cs);
public static byte[] ToAsciiByteArray(char[] chars, int index, int count);
public static byte[] ToAsciiByteArray(string s);
public static string FromUtf8ByteArray(byte[] bytes);
public static string FromUtf8ByteArray(byte[] bytes, int index, int count);
public static byte[] ToUtf8ByteArray(char[] cs);
public static byte[] ToUtf8ByteArray(char[] chars, int index, int count);
public static byte[] ToUtf8ByteArray(string s);
public static byte[] ToUtf8ByteArray(string s, int preAlloc, int postAlloc);
public static string[] Split(string input, char delimiter);
}
}