![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
tibems_status tibemsBytesMsg_ReadBytes(tibemsBytesMsg message,tibems_int requested_length,tibems_int* return_length );
message and value have usage pointer.
The program supplies a location. In that location, this call stores a pointer to the next block of bytes within the bytes message.Your program must not change the bytes, which belong to the message; if you must modify the bytes, make a private copy first. The function stores in this location the actual number of bytes that it read. (If the number of bytes remaining in the message is less than the requested_length, then this location indicates that number of remaining bytes. Your program must not use bytes beyond this limit.)When the function cannot read even one byte, it stores -1 in this location (and returns a successful status code).
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |