c++ - Storing hexadecimal addresses in a file -
I have a pinto application that stores the memory address accessed by an application in a file. These addresses are in hexadecimal form if I write these addresses as string, then there will be a large amount of storage (about 300 GB) in it. Writing such a big file will also take a considerable amount of time, so I think in an alternative way to reduce the amount of storage used.
Each letter of hexadecimal address represents 4 bits and Each ASCII character is of 8 bits. So I'm thinking of representing one hexadecimal characters by an ASCII character. For example: If my hexadecimal address is 0x26234b , the related converged ASCII address and
I want to know that there is a more efficient method to do this, which takes less storage.
Note: I am working in c ++
this is a good Beginning If you really want to move forward, you might want to consider communicating the data using something like ZIP Library or Huffman encoding.
Comments
Post a Comment