WebLogic Messaging API Class Library

IBytesMessage.WriteBytes\xA0Method\xA0(Byte[], Int32, Int32)

Writes a portion of a byte array to the bytes message stream.

void\xA0WriteBytes(
\xA0\xA0\xA0byte[]\xA0value,
\xA0\xA0\xA0int\xA0offset,
\xA0\xA0\xA0int\xA0length
);

Parameters

value
the byte array value to be written
offset
the initial offset within the byte array
length
the number of bytes to use

Exceptions

Exception Type Condition
MessageException if JMS fails to write the message due to some internal error.
MessageNotWriteableException if the message is in read-only mode.

See Also

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