tibemsObjectMsg_GetObjectBytes


Function

Purpose

Get the byte sequence representing a serialized object from a message.

C Declaration

tibems_status tibemsObjectMsg_GetObjectBytes( 
    tibemsObjectMsg message, 
    void** bytes, 
    tibems_uint* byteSize ); 

COBOL Call

CALL "tibemsObjectMsg_GetObjectBytes" 
     USING BY VALUE message, 
           BY REFERENCE bytes, 
           BY REFERENCE byteSize, 
           RETURNING tibems-status 
END-CALL. 

message and bytes have usage pointer.

Parameters

Parameter
Description
message
Get bytes (representing an object) from this message.
bytes
The function stores a pointer to the byte sequence (within the message) in this location.
byteSize
The function stores the length of the byte sequence in this location.

Remarks

When the message does not contain an object (because none has been set), this function places null in the bytes argument, and zero in the byteSize argument.


TIBCO Enterprise Message Service™ C and COBOL Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com