ZylSerialPort.NET

SerialPort.StringToUTF7ByteArray Method 

Converts string to UTF7 byte array.

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

Parameters

String
String value to be converted,

Return Value

Byte array representation of the string.

See Also

SerialPort Class | ZylSerialPort Namespace