Merge "Use readUnsignedByte instead of readByte and typecast."