FastToAscii()

String::FastToAscii(char, int) const method

Tries to convert a String to an ASCII string.

int System::String::FastToAscii(char buffer[], int buffer_size) const

Arguments

ParameterTypeDescription
buffercharA buffer to store the resulting string.
buffer_sizeintBuffer’s size.

Return Value

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

See Also