The a portion of 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. 
| 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. | 
IStreamMessage Interface | WebLogic.Messaging Namespace | IStreamMessage.WriteBytes Overload List