More elegant way of reading single/double-byte numbers from UART.