Open topic with navigation

TIBCO Rendezvous® 8.7.0

# tibrvMsgData_ByteSize()

Function

## Declaration

    tibrv_u32 tibrvMsgData_ByteSize(
        tibrv_u32    content_size);

## Purpose

Calculate the wire buffer size of data from its C size.

## Remarks

Encoders call this layer 1 function to preview the wire size of the data as tibrvMsgData_CopyBytes() would write it into the message (that is, including extra bytes for size information). Encoders test this wire size against the available space in the message.

Parameter | Description
`content_size` | The encoder supplies the C size (in bytes) of data.

## See Also

tibrvMsgData_Encoder

tibrvMsgData_SetSize()

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-2023. Cloud Software Group, Inc. All Rights Reserved.