Formating received bytes