WebLogic Messaging API Class Library |

# IBytesMessage.WriteBytes Method (Byte[])

Writes a byte array to the bytes message stream.

void WriteBytes(
Byte[] value
);

#### Parameters

Byte[]
  the byte array to be written

#### 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. Overload List