code: @Deprecated
    public static BinaryAttachment with(String filename, InputStream data) {
      return new BinaryAttachment(filename, data);
    }
docs: Creates a binary attachment.
  
  @param filename
  The attachment's filename.
  @param data
  The attachment's data.
  @return A binary attachment.
  @throws IllegalArgumentException
  If {@code data} is {@code null} or {@code filename} is {@code null} or blank.
  @deprecated use the stream-less API passing a {@code byte[]} for data