code: public static OperationResult succeeded(long index, long eventIndex, byte[] result) {
      return new OperationResult(index, eventIndex, null, result);
    }
docs: Returns a successful operation result.
  
  @param index the result index
  @param eventIndex the session's last event index
  @param result the operation result value
  @return the operation result