code: public void read(Charset charset, Writer writer) throws IllegalStateException, IOException {
          writer.write(read(charset).toString());
      }
docs: <p>Reads all available bytes from the serial port/device into a provided Writer.</p>
  
  @param charset
  The character set to use for encoding/decoding bytes to/from text characters
  @param writer
  The Writer object to write to.