Pixels Plugin for Unity
Enable communications with Pixels dice using Bluetooth Low Energy.
Loading...
Searching...
No Matches
ComHelper.h
Go to the documentation of this file.
1
6#pragma once
7
11namespace Systemic::ComHelper
12{
19 const char* copyToComBuffer(const char* str);
20
27 const char* copyToComBuffer(const wchar_t* str);
28
34 void freeComBuffer(void* buffer);
35}
Helper methods for COM strings.
Definition ComHelper.cpp:10
const char * copyToComBuffer(const char *str)
Copy the UTF-8 C string into a COM buffer.
Definition ComHelper.cpp:11
void freeComBuffer(void *buffer)
Free a COM buffer.
Definition ComHelper.cpp:75