Open topic with navigation

TIBCO Rendezvous® 8.8.0

# TibrvMsg::convertToString()

Method

## Declaration

    TibrvStatus convertToString(const char*& string)

## Purpose

Format a message as a string.

## Remarks

Programs can use this method to obtain a string representation of the message for printing.

For most datatypes, this method formats the full value of the field to the string; these types are an exceptions:

TIBRVMSG_OPAQUE | This method abbreviates the value of an opaque field; for example, `[472 opaque bytes]`.
TIBRVMSG_XML | This method abbreviates the value of an XML field; for example, `[XML document: 472 bytes]`. The size measures uncompressed data.

This method formats TIBRVMSG_IPADDR32 fields as four dot-separated decimal integers.

This method formats TIBRVMSG_IPPORT16 fields as one decimal integer.

Parameter | Description
`string` | The program supplies a variable in this parameter; the method stores the string representation in that variable.

## See Also

Converting DateTime to Strings

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2025. Cloud Software Group, Inc. All Rights Reserved.