diff options
Diffstat (limited to 'primedev/thirdparty/silver-bun/utils.h')
-rw-r--r-- | primedev/thirdparty/silver-bun/utils.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/primedev/thirdparty/silver-bun/utils.h b/primedev/thirdparty/silver-bun/utils.h new file mode 100644 index 00000000..15e43a92 --- /dev/null +++ b/primedev/thirdparty/silver-bun/utils.h @@ -0,0 +1,18 @@ +#pragma once + +#include <iostream> +#include <string> +#include <vector> +#include <windows.h> +#include <psapi.h> + +namespace Utils +{ + std::vector<uint8_t> StringPatternToBytes(const char* szInput); + std::vector<int> PatternToBytes(const char* szInput); + std::pair<std::vector<uint8_t>, std::string> PatternToMaskedBytes(const char* szInput); + std::vector<int> StringToBytes(const char* szInput, bool bNullTerminator); + std::pair<std::vector<uint8_t>, std::string> StringToMaskedBytes(const char* szInput, bool bNullTerminator); +} + +typedef const unsigned char* rsig_t; |