I have an external library and I’m trying to use the following function.
[DllImport (“__Internal”)]
private static extern char[ ] encryptCharString(char[ ] pin, char[ ] text, int length);
I don’t think it understands the char[ ] I’m passing into it. I’m told it’s supposed to be utf8 but I think unity char arrays are utf16. Is that correct and how would I go about doing this?