C-DEngine 5.105

TheCommonUtils..::..CArray2UTF8String Method (array<Byte>[]()[][], 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,
	bool StripFileCodes
)
Public Shared Function CArray2UTF8String ( _
	pIn As Byte(), _
	StripFileCodes As Boolean _
) As String
public:
static String^ CArray2UTF8String(
	array<unsigned char^>^ pIn, 
	bool^ StripFileCodes
)

Parameters

pIn
Type: array<Byte>[]()[][]
Input array of UTF8 characters, stored as byte value.
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.