System::String::FastToAscii method

String::FastToAscii method

Tries to convert a String to an ASCII string.

int System::String::FastToAscii(char buffer[], int buffer_size) const
ParameterTypeDescription
buffercharA buffer to store the resulting string.
buffer_sizeintBuffer’s size.

ReturnValue

The resulting string length or -1 if a String is not an ASCII string.

See Also