LenToASCIIZStr
Converts a length-preceded string to an ASCIIZ (NULL-terminated)
#include <nwstring.h> int LenToASCIIZStr ( char *destStr, char *srcStr);
The following table lists return values and descriptions.
The srcStr is only copied up to the first NULL character or the length specified, whichever is shorter. If the string is not converted (due to a NULL being encountered), the value returned is the number of characters not copied to the destination string.
LenToASCIIZStr call copies and converts a length-preceded string to an ASCIIZ (NULL-terminated) string.
The srcStr parameter is an ASCII string with the length of the string of the first byte and the actual characters of the string following it.
The srcStr can be the same as the destStr.