code: public static Output<CharBuffer>
              from(String data, boolean endOfRecord) {
          return new Output<>(ManagedBuffer.wrap(
              CharBuffer.wrap(data)), false, endOfRecord);
      }
docs: Convenience method that creates a
  {@code Output<CharBuffer>} event from a {@link String}.
  
  @param data the string to wrap
  @param endOfRecord if the event ends a data record
  @return the event