C-DEngine 5.105

TheCommonUtils..::..CArray2UTF8String Method (array<Byte>[]()[][], Int32, Int32, Boolean)

Converts a byte array using UTF8 encoding to a character string.

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static string CArray2UTF8String(
	byte[] pIn,
	int start,
	int len,
	bool StripFileCodes
)
Public Shared Function CArray2UTF8String ( _
	pIn As Byte(), _
	start As Integer, _
	len As Integer, _
	StripFileCodes As Boolean _
) As String
public:
static String^ CArray2UTF8String(
	array<unsigned char^>^ pIn, 
	int^ start, 
	int^ len, 
	bool^ StripFileCodes
)

Parameters

pIn
Type: array<Byte>[]()[][]
Input array of UTF8 characters, stored as byte value.
start
Type: Int32
Index of input array beginning of range of items to include in the conversion.
len
Type: Int32
Count of array items to include in conversion.
StripFileCodes
Type: Boolean
If true, the function checks for the Unicode File Tag EF BB BF and strips it from the byte stream

Return Value

The converted string.