tibemsBytesMsg_SetBytes

Function

Purpose

Set the body data of a bytes message from a byte sequence.

C Declaration

tibems_status tibemsBytesMsg_SetBytes(
    tibemsBytesMsg message,
    const void* bytes,
    tibems_uint byteSize );

COBOL Call

CALL "tibemsBytesMsg_SetBytes"
 USING BY VALUE message,
       BY REFERENCE bytes,
       BY VALUE byteSize,
       RETURNING tibems-status
END-CALL.
Note: message has usage pointer.

Parameters

Parameter Description
message Set the body data of this bytes message.
bytes Copy this byte sequence into the message body.
byteSize Copy this number of bytes into the message.