monkey:monkey.types.String.ToCString
Converts the string to a CString.
If there is enough room in the memory buffer, a null terminating '0' is appended to the CString.
Parameters | |
---|---|
buf |
buf Memory buffer to write the CString to. |
bufSize |
bufSize Size of the memory buffer in bytes. |