code: public <Message extends PMessage<Message, Field>, Field extends PField>
      String format(Message message) {
          ByteArrayOutputStream out = new ByteArrayOutputStream();
          formatTo(out, message);
          return new String(out.toByteArray(), StandardCharsets.UTF_8);
      }
docs: Format message to a string.
  
  @param message The message to be written.
  @param <Message> The message type.
  @param <Field> The field type.
  @return The formatted message.