There should be a way to check the length of the UART tx and rx buffers, when working with `BufferedUart`.