UnsignedIntValue

Function

Obtains the sequence number of the uint64_t type from a request body.

Format

uint64_t UnsignedIntValue() const;

Parameters

None

Usage Example

Constructs a request ID object and obtains the sequence number of the request body.

1
2
mindie_llm::InferRequestId runtimeReqId1(0);
uint64_t value = runtimeReqId1.UnsignedIntValue();

Return Value

  • If the sequence number of the request body is of the uint64_t type, the sequence number of the uint64_t type is returned.
  • If the sequence number of the request body is of the string type, the default value 0 is returned.