[TIBCO.EMS .NET client library 6.3 documentation]

Create a message from specified byte array

Namespace:  TIBCO.EMS
Assembly:  TIBCO.EMS (in TIBCO.EMS.dll)

Syntax

public static Message CreateFromBytes(
	byte[] bytes
)
Public Shared Function CreateFromBytes ( _
	bytes As Byte() _
) As Message
public:
static Message^ CreateFromBytes(
	array<unsigned char>^ bytes
)

Parameters

bytes
Type: array< System..::.Byte >[]()[]
The byte array representation of the message. This byte array must be the result of previously calling GetAsBytes(Message).

Return Value

The message constructed from the byte array

Remarks

Specified byte array must be previously obtained using the GetAsBytes(Message) method. Created message is set to read-only state, use the MakeWriteable(Message) method to enable message modification without erasing its content.

See Also