tibemsStreamMsg_WriteBytes


Function

Purpose

Write bytes from a byte array to a stream message.

C Declaration

tibems_status tibemsStreamMsg_WriteBytes( 
    tibemsStreamMsg message, 
    void* value, 
    tibems_uint length ); 

COBOL Call

CALL "tibemsStreamMsg_WriteBytes" 
     USING BY VALUE message, 
           BY REFERENCE value, 
           BY VALUE length, 
           RETURNING tibems-status 
END-CALL. 

message has usage pointer.

Parameters

Parameter
Description
message
Write to the byte stream of this message.
value

Copy bytes from this byte array to the message.

length
Write this number of bytes from the byte array to the message.

Remarks

Each call writes bytes from the byte array into the stream, and advances the write position.


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