docs: @Override
      public byte[] read() throws IllegalStateException, IOException{
          // validate state
          if (isClosed())
              throw new IllegalStateException("Serial connection is not open; cannot 'read()'.");
  
          // read serial data from receive buffer
          byte[] buffer = new byte[available()];
          receiveBuffer.getInputStream().read(buffer);
          return buffer;
      }