Files
vxunderground-VX-API/VX-API/ByteArrayToCharArray.cpp
T
vxunderground cf0c3cc1c2 Updates
CreateMd5HashFromFilePath
2022-09-10 18:40:21 -05:00

17 lines
366 B
C++

#include "StringManipulation.h"
VOID ByteArrayToCharArrayA(PCHAR Destination, PBYTE Source, DWORD Length)
{
for (DWORD dwX = 0; dwX < Length; dwX++)
{
Destination[dwX] = (BYTE)Source[dwX];
}
}
VOID ByteArrayToCharArrayW(PWCHAR Destination, PBYTE Source, DWORD Length)
{
for (DWORD dwX = 0; dwX < Length; dwX++)
{
Destination[dwX] = (BYTE)Source[dwX];
}
}