Is there a way to read a certain amount of bytes from the serial and type cast it into int or float? I've read through the QByteArray document, but I don't really get it.