cast the byte data to unsigned