tibrvMsgData_ByteSize()
Function
Declaration
tibrv_u32tibrvMsgData_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 |
|
|
The encoder supplies the C size (in bytes) of data. |