Pixels Plugin for Unity
Enable communications with Pixels dice using Bluetooth Low Energy.
|
Helper methods for COM strings. More...
Functions | |
const char * | copyToComBuffer (const char *str) |
Copy the UTF-8 C string into a COM buffer. | |
const char * | copyToComBuffer (const wchar_t *str) |
Convert the UTF-16 C string to UTF-8 and copy the result into a COM buffer. | |
void | freeComBuffer (void *buffer) |
Free a COM buffer. | |
Helper methods for COM strings.
const char * Systemic::ComHelper::copyToComBuffer | ( | const char * | str | ) |
Copy the UTF-8 C string into a COM buffer.
The | UTF-8 C string. |
const char * Systemic::ComHelper::copyToComBuffer | ( | const wchar_t * | str | ) |
Convert the UTF-16 C string to UTF-8 and copy the result into a COM buffer.
The | UTF-16 C string. |
void Systemic::ComHelper::freeComBuffer | ( | void * | buffer | ) |
Free a COM buffer.
The | buffer to free. |