![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
tibems_status tibemsBytesMsg_ReadBoolean(tibemsBytesMsg message,tibems_bool* value );tibems_status tibemsBytesMsg_ReadByte(tibemsBytesMsg message,tibems_byte* value );tibems_status tibemsBytesMsg_ReadChar(tibemsBytesMsg message,tibems_wchar* value );tibems_status tibemsBytesMsg_ReadDouble(tibemsBytesMsg message,tibems_double* value );tibems_status tibemsBytesMsg_ReadFloat(tibemsBytesMsg message,tibems_float* value );tibems_status tibemsBytesMsg_ReadInt(tibemsBytesMsg message,tibems_int* value );tibems_status tibemsBytesMsg_ReadLong(tibemsBytesMsg message,tibems_long* value );tibems_status tibemsBytesMsg_ReadShort(tibemsBytesMsg message,tibems_short* value );tibems_status tibemsBytesMsg_ReadUnsignedByte(tibemsBytesMsg message,tibems_int* value );tibems_status tibemsBytesMsg_ReadUnsignedShort(tibemsBytesMsg message,tibems_int* value );tibems_status tibemsBytesMsg_ReadUTF(tibemsBytesMsg message,tibems_int* length );
message has usage pointer in all calls.value has usage pointer in tibemsBytesMsg_ReadUTF.
tibemsBytesMsg_ReadUTF reads a UTF-8 string. Since the length of the string cannot be determined in advance, the function stores the actual length in this location.The JMS specification defines eleven calls to extract data from the byte stream body of a tibemsBytesMsg.Each call reads a unit of data from the stream, and advances the read position so that the next read call gets the next datum.
Table 8 BytesMessage Read Functions tibemsBytesMsg_ReadShort tibemsBytesMsg_ReadUnsignedShort tibemsBytesMsg_ReadInt tibemsBytesMsg_ReadLong tibemsBytesMsg_ReadUTF
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |