Function TRITONSERVER_MessageNewFromSerializedJson

Function Documentation

TRITONSERVER_Error *TRITONSERVER_MessageNewFromSerializedJson(TRITONSERVER_Message **message, const char *base, size_t byte_size)

TRITONSERVER_Message.

Object representing a Triton Server message.Create a new message object from serialized JSON string.

Return

a TRITONSERVER_Error indicating success or failure.

Parameters
  • message: The message object.

  • base: The base of the serialized JSON.

  • byte_size: The size, in bytes, of the serialized message.