AcString::AcString

C++

ACBASE_PORT AcString(
    const char * psz, 
    Encoding encoding, 
    unsigned int nByteCount
);

Description

Constructs a string and initializes it from a narrow char string.

Parameters

Parameters Description
psz Input narrow string. Null terminated
encoding Input string's encoding format
nByteCount Number of input bytes from psz to use

Remarks

Currently, only Utf8 encoding is supported.

psz is not required to be null terminated.

If bytecount causes last multi-byte utf8 char in psz to be truncated, then the behavior is undefined.

Links

AcString