docs: public String print(ReadablePartial partial) {
          StringBuilder buf = new StringBuilder(requirePrinter().estimatePrintedLength());
          try {
              printTo((Appendable) buf, partial);
          } catch (IOException ex) {
              // StringBuilder does not throw IOException
          }
          return buf.toString();
      }