mirror of
https://github.com/vxunderground/VX-API
synced 2026-06-06 16:54:55 +00:00
17 lines
330 B
C++
17 lines
330 B
C++
#include "StringManipulation.h"
|
|
|
|
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];
|
|
}
|
|
} |