code: public void write(Object from, OutputStream target) throws IOException {
      OutputStreamWriter writer = new OutputStreamWriter(target, "UTF-8");
      write(from, writer);
      writer.flush();
    }
docs: Write an Object in TOML to a {@link OutputStream}. Output is encoded as UTF-8.
  
  @param from the object to be written
  @param target the OutputStream to which the TOML will be written. The stream is NOT closed after being written to.
  @throws IOException if target.write() fails