GetBytes Method
GetBytes(String[], Encoding)
Converts an array of strings to a multi-null-terminated string.
C#
public static byte[] GetBytes(string[] value, Encoding encoding)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | value | Array of strings. |
System.Text.Encoding | encoding | Encoding to apply to the multi-string. |
Returns
System.Byte[]
Byte array containing multi-string.