TibrvMsgField::getSize()
Method
Declaration
tibrv_u32 getSize() const;
Purpose
Remarks
Return the size of the field’s data (in bytes).
For array types, size reflects the size (in bytes) of one array element. For TIBRVMSG_STRING, size reflects the number of bytes in the string (including the NULL terminator, if present). For TIBRVMSG_OPAQUE and TIBRVMSG_XML, size reflects the number of data bytes.
This method returns the value of the member field.size.