mirror of
https://github.com/vxunderground/VX-API
synced 2024-06-30 18:51:17 +00:00
16 lines
298 B
C++
16 lines
298 B
C++
VOID CharArrayToByteArrayA(PCHAR Char, PBYTE Byte, DWORD Length)
|
|
{
|
|
for (DWORD dwX = 0; dwX < Length; dwX++)
|
|
{
|
|
Byte[dwX] = (BYTE)Char[dwX];
|
|
}
|
|
}
|
|
|
|
VOID CharArrayToByteArrayW(PWCHAR Char, PBYTE Byte, DWORD Length)
|
|
{
|
|
for (DWORD dwX = 0; dwX < Length; dwX++)
|
|
{
|
|
Byte[dwX] = (BYTE)Char[dwX];
|
|
}
|
|
}
|