WebLogic Messaging API Class Library

IStreamMessage.WriteBytes\xA0Method\xA0(Byte[])

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.

void\xA0WriteBytes(
\xA0\xA0\xA0byte[]\xA0value
);

Parameters

value
the byte array value to be written

Exceptions

Exception TypeCondition
MessageExceptionif JMS fails to write the message due to some internal error.
MessageNotWriteableExceptionif the message is in read-only mode.

See Also

IStreamMessage Interface | WebLogic.Messaging Namespace | IStreamMessage.WriteBytes Overload List