i use a pointer that saw to an address...
so i read byte per byte ( with masking technique) and then i write the results ( after bit stuffing) in that pointer