Files
vxunderground 08fb26bb51 functionality additions + readme
new functions, improved readme, ++
2022-10-21 12:50:24 -05:00

13 lines
390 B
C++

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