The idea is:
I have data in hexadecimal value (for example: 3F),this data is then pass to a memory location. Then the other data is in (for example: AA). Now,the '3F' should move to location to the right,and the 'AA' should be add in to become 'AA3F'(it is a FIFO concept).This process is continuing(the data is continue come in),the memory only store 2 bytes of data (for example: AA3F),more than 2 bytes will be throwing in FIFO basis.And the FIFO process is continue until it reach 'FFD8'.
At this stage,all the data coming in will be stroe in another 512 bytes memory until 'FFD9' is reach then the whole process is restart.
The simple idea is I wish to store the data between FFD8 and FFD9 into a memory buffer.I wish to do this in VB6.Anyone can help me?