Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Messages : tibemsBytesMsg : tibemsBytesMsg_GetBytes

tibemsBytesMsg_GetBytes
Function
Purpose
Get the body data of a bytes message.
C Declaration
tibems_status tibemsBytesMsg_GetBytes(
    tibemsBytesMsg message,
    void** bytes,
    tibems_uint* byteSize );
COBOL Call
CALL "tibemsBytesMsg_GetBytes"
USING BY VALUE message,
       BY REFERENCE bytes,
       BY REFERENCE byteSize,
       RETURNING tibems-status
END-CALL.
 
message and bytes have usage pointer.
Parameters
 
Your program must not change the bytes, which belong to the message; if you must modify the bytes, make a private copy first.
Remarks
This call extracts a pointer to the body data of a bytes message.
The byte sequence storage persists until your program destroys the message object.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved