Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Module Name: BiteRepresent
- * Use: Converts a byte vector to a string and reverses.
- * Developer: Donkey Death Jam
- */
- #pragma once
- #include <string>
- #include <vector>
- #include <map>
- using namespace std;
- typedef unsigned char BYTE;
- class BiteRepresent
- {
- public:
- static void Initialize();
- static string ByteToString(vector<BYTE> input);
- static vector<BYTE> StringToByte(string string);
- private:
- static string GetStringRepresentation(string input);
- static BYTE GetByteRepresentation(string input);
- static vector<string> SplitString(string text, char sep);
- static map<int, string> _NUMBERKEYMAP;
- static map<string, int> _STRINGKEYMAP;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement