Show / Hide Table of Contents

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
string[] value

Array of strings.

Encoding encoding

Encoding to apply to the multi-string.

Returns

byte[]

Byte array containing multi-string.

In this article
Back to top Generated by DocFX