Is it possible to convert byte* to Array^ in C++/CX?
Currently I accomplish this by copying each value, which I know is not space/performance efficient.
My current implementation is :
Array<byte>^ arr = ref new Array<byte>(byteCount);
for (int i = 0; i < byteCount; i++)
{
arr[i] = *(bytes + i);
}