C# Class BraintreeEncryption.Library.BouncyCastle.Util.Strings

General string utilities.
Datei anzeigen Open project: braintree/braintree_windows_phone_encryption

Public Methods

Method Description
FromAsciiByteArray ( byte bytes ) : string
FromByteArray ( byte bs ) : string
FromUtf8ByteArray ( byte bytes ) : string
ToAsciiByteArray ( char cs ) : byte[]
ToAsciiByteArray ( string s ) : byte[]
ToByteArray ( char cs ) : byte[]
ToByteArray ( string s ) : byte[]
ToUtf8ByteArray ( char cs ) : byte[]
ToUtf8ByteArray ( string s ) : byte[]

Private Methods

Method Description
IsOneOf ( string s ) : bool
Strings ( ) : System

Method Details

FromAsciiByteArray() public static method

public static FromAsciiByteArray ( byte bytes ) : string
bytes byte
return string

FromByteArray() public static method

public static FromByteArray ( byte bs ) : string
bs byte
return string

FromUtf8ByteArray() public static method

public static FromUtf8ByteArray ( byte bytes ) : string
bytes byte
return string

ToAsciiByteArray() public static method

public static ToAsciiByteArray ( char cs ) : byte[]
cs char
return byte[]

ToAsciiByteArray() public static method

public static ToAsciiByteArray ( string s ) : byte[]
s string
return byte[]

ToByteArray() public static method

public static ToByteArray ( char cs ) : byte[]
cs char
return byte[]

ToByteArray() public static method

public static ToByteArray ( string s ) : byte[]
s string
return byte[]

ToUtf8ByteArray() public static method

public static ToUtf8ByteArray ( char cs ) : byte[]
cs char
return byte[]

ToUtf8ByteArray() public static method

public static ToUtf8ByteArray ( string s ) : byte[]
s string
return byte[]