code: public static ContentData create(byte[] data, String type, @Nullable String name) {
          return new ContentData(RequestBody.create(MediaType.parse(type), data), name);
      }
docs: Create data object to send from a file.
  
  @param data Raw data bytes to upload.
  @param type Mime type of the data.
  @return Data object to send.