code: public static Output<ByteBuffer>
              from(byte[] data, boolean endOfRecord) {
          return new Output<>(ManagedBuffer.wrap(ByteBuffer.wrap(data)),
              false, endOfRecord);
      }
docs: Convenience method that creates a
  {@code Output<ByteBuffer>} event from a `byte[]`.
  
  @param data the array to wrap
  @param endOfRecord if the event ends a data record
  @return the event