I have a buffer from an RS232 component that will be full of strings and 2 - 4 Byte numbers. Whats the best way to parse through this data, I was going to check that the data is valid (255 bytes of it) and have a pointer to the buffer which I will increment as I go checking the values and feeding them into a structure.... But Im not sure if Im heading for the best technique?

Does anyone know of a good way of doing this or perhaps a good article on something similar?

Thanks in advance for any tips