BlueLibs documentation

BTUtils.StrToByteArray Method 

Converts string to byte array using ASCII encoding

[Visual Basic]
Public Shared Function StrToByteArray( _
   ByVal str As String _
) As Byte()
[C#]
public static byte[] StrToByteArray(
   string str
);

Parameters

str
string to convert

Return Value

bytes of the string

See Also

BTUtils Class | BlueLibs Namespace