Hallo!
I have to do the following tasks:
1) I need to read first 8 bytes from file
2) Get all 64 bits for editing
3) Change some bits and save its back to file
basically i want to compress astring of 8 characters to to 7 characters...
my idea is to use MSB of every character(ascii representation ) which is always 0 to store bits from 8th character ...
can u tell me how do i implement this?
I have to do the following tasks:
1) I need to read first 8 bytes from file
2) Get all 64 bits for editing
3) Change some bits and save its back to file
basically i want to compress astring of 8 characters to to 7 characters...
my idea is to use MSB of every character(ascii representation ) which is always 0 to store bits from 8th character ...
can u tell me how do i implement this?
Comment