a small program to parse detect different bytes in binary string stream