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.
Note: message and bytes have usage pointer.

Parameters

Parameter Description
message Get bytes (representing an object) from this message.
bytes Store a pointer to the byte sequence (within the message).
byteSize Store the length of the byte sequence.

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.