Writes a byte array field to the stream message.

The byte array value is written to the message as a byte array field. Consecutively written byte array fields are treated as two distinct fields when the fields are read.

Namespace:  Kaazing.JMS
Assembly:  Kaazing.JMS (in Kaazing.JMS.dll)

Syntax

Visual Basic
Sub WriteBytes ( _
	value As Byte() _
)
C#
void WriteBytes(
	byte[] value
)
Visual C++
void WriteBytes(
	array<unsigned char>^ value
)

Parameters

value
Type: array<System..::..Byte>[]()[][]
the byte array value to be written

Exceptions

ExceptionCondition
Kaazing.JMS..::..JMSExceptionif the JMS provider fails to write the message due to some internal error.
Kaazing.JMS..::..MessageNotWriteableExceptionif the message is in read-only mode.

See Also