code: function createEventData(eventId, type, isJson, data, metadata) {
    return new EventData(eventId, type, isJson, data, metadata);
  }
docs: Create an EventData object from event/metadata buffer(s)
  @public
  @param {string} eventId    Event UUID
  @param {string} type       Event type
  @param {boolean} isJson    is buffer(s) content json
  @param {Buffer} data       Data buffer
  @param {Buffer} [metadata] Metadata buffer
  @returns {EventData}