Changed type of input data to Byte.